TngRootBypassHook 增强 captcha 诊断、TigerTally/JNIC 分层与 HWUI 策略;新增逆向脚本、Frida 工具与 UI dump;同步 MariBank SG hook 与 tng_exit_guard 更新。
19 lines
594 B
Python
19 lines
594 B
Python
"""Find SecurityErrorActivity onCreate signature."""
|
|
import re
|
|
import zipfile
|
|
|
|
APK = r"C:\Users\Administrator\Desktop\notiMessage\reverse\apks\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 pat in [
|
|
b"SecurityErrorActivity",
|
|
b"launchProcessNextSecurityState",
|
|
b"addIntoQueueAndLaunch",
|
|
b"SecurityErrorBaseActivity;->onCreate",
|
|
]:
|
|
print("===", pat.decode(), "===")
|
|
for m in sorted(set(re.findall(pat + rb"[^\x00]{0,120}", data))):
|
|
print(m.decode("ascii", "ignore")[:150])
|
|
print()
|