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/captcha/[A-Za-z0-9_/$]+;") found = set() for n in z.namelist(): if not n.endswith(".dex"): continue data = z.read(n) for m in pat.findall(data): found.add(m.decode()) for c in sorted(found): print(c) print("total", len(found))