chore: 备份 TNG 注册/captcha 逆向与 MariBank SG bypass 进展
TngRootBypassHook 增强 captcha 诊断、TigerTally/JNIC 分层与 HWUI 策略;新增逆向脚本、Frida 工具与 UI dump;同步 MariBank SG hook 与 tng_exit_guard 更新。
This commit is contained in:
23
reverse/scripts/find_dfp_empty_class.py
Normal file
23
reverse/scripts/find_dfp_empty_class.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
APK = Path(__file__).resolve().parent.parent / "apks" / "maribank_sg_base.apk"
|
||||
needle = b"The dfp is empty in register scene"
|
||||
with zipfile.ZipFile(str(APK)) as zf:
|
||||
data = b"".join(zf.read(n) for n in zf.namelist() if n.endswith(".dex"))
|
||||
|
||||
idx = data.find(needle)
|
||||
ctx = data[max(0, idx - 2000) : idx + 2000]
|
||||
classes = sorted(set(m.group().decode()[1:-1].replace("/", ".")
|
||||
for m in re.finditer(rb"Lcom/[^;\x00]{5,200};", ctx)))
|
||||
print("classes near register dfp empty:")
|
||||
for c in classes:
|
||||
print(c)
|
||||
|
||||
print("\nstrings:")
|
||||
for m in re.finditer(rb"[\x20-\x7e]{6,100}", ctx):
|
||||
s = m.group().decode()
|
||||
if any(k in s.lower() for k in ("dfp", "register", "fingerprint", "empty", "scene", "monitor", "iv_")):
|
||||
print(s)
|
||||
Reference in New Issue
Block a user