import os
import re

ROOT = "/data/data/com.tencent.mm"

pattern = re.compile(r"Flexi_SK", re.I)

for root, dirs, files in os.walk(ROOT):
    for file in files:
        path = os.path.join(root, file)

        try:
            # 跳过大文件
            if os.path.getsize(path) > 20 * 1024 * 1024:
                continue

            with open(path, "rb") as f:
                data = f.read()

            if b"Flexi_SK" in data:
                print("[FOUND]", path)

        except:
            pass