TngRootBypassHook 增强 captcha 诊断、TigerTally/JNIC 分层与 HWUI 策略;新增逆向脚本、Frida 工具与 UI dump;同步 MariBank SG hook 与 tng_exit_guard 更新。
17 lines
593 B
Python
17 lines
593 B
Python
import re
|
|
import sys
|
|
import zipfile
|
|
|
|
apk = sys.argv[1] if len(sys.argv) > 1 else r"C:\Users\Administrator\AppData\Local\Temp\tng_base.apk"
|
|
with zipfile.ZipFile(apk) as z:
|
|
data = b"".join(z.read(n) for n in z.namelist() if n.endswith(".dex"))
|
|
|
|
for cls in ["xwwqazamx/bl", "xwwqazamx/W", "xwwqazamx/a", "JNICLibrary", "hzchengdun"]:
|
|
pattern = cls.encode("utf-8") + rb"[^\x00]{0,120}"
|
|
hits = sorted(set(
|
|
m.group().decode("utf-8", "ignore") for m in re.finditer(pattern, data)
|
|
))
|
|
print(f"\n=== {cls} ({len(hits)} strings) ===")
|
|
for h in hits[:40]:
|
|
print(h)
|