import re import zipfile apk = r"C:\Users\Administrator\Desktop\notiMessage\reverse\dumps\tng_1.9.10_base.apk" z = zipfile.ZipFile(apk) pat = re.compile(rb"Lcom/aliyun/TigerTally/[a-zA-Z0-9_/\$]+;->([A-Za-z0-9_<>\$]+)") found = set() for n in z.namelist(): if not n.endswith(".dex"): continue for m in pat.findall(z.read(n)): found.add(m.decode()) for m in sorted(found): print(m) print("total", len(found))