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:
21
reverse/scripts/list_sg_shps_classes.py
Normal file
21
reverse/scripts/list_sg_shps_classes.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
APK = Path(__file__).resolve().parent.parent / "apks" / "maribank_sg_base.apk"
|
||||
with zipfile.ZipFile(str(APK)) as zf:
|
||||
d = b"".join(zf.read(n) for n in zf.namelist() if n.endswith(".dex"))
|
||||
|
||||
for pat in [
|
||||
rb"Lcom/shopee/shpssdk/[\w$/]{3,100};",
|
||||
rb"Lcom/shopee/shpssdkbank/[\w$/]{3,100};",
|
||||
]:
|
||||
cs = sorted(set(m.group().decode()[1:-1].replace("/", ".") for m in re.finditer(pat, d)))
|
||||
print("\n", pat.decode(), len(cs))
|
||||
for c in cs:
|
||||
if "R" != c.split(".")[-1] or "$" in c:
|
||||
print(" ", c)
|
||||
|
||||
for needle in [b"RISK_USB", b"RISK_WIFI", b"RISK_ROOT", b"RISK_HOOK", b"requestDefense"]:
|
||||
print(needle.decode(), d.count(needle))
|
||||
Reference in New Issue
Block a user