TngRootBypassHook 增强 captcha 诊断、TigerTally/JNIC 分层与 HWUI 策略;新增逆向脚本、Frida 工具与 UI dump;同步 MariBank SG hook 与 tng_exit_guard 更新。
21 lines
715 B
Python
21 lines
715 B
Python
# -*- coding: utf-8 -*-
|
|
import re
|
|
import sys
|
|
import zipfile
|
|
from pathlib import Path
|
|
|
|
APK = Path(__file__).resolve().parent.parent / "apks" / "maribank_sg_base.apk"
|
|
if len(sys.argv) > 1:
|
|
APK = Path(sys.argv[1])
|
|
|
|
with zipfile.ZipFile(str(APK)) as zf:
|
|
data = b"".join(zf.read(n) for n in zf.namelist() if n.endswith(".dex"))
|
|
|
|
for pkg in ("shpssdkbank", "shpssdk"):
|
|
pat = re.compile(rf"Lcom/shopee/{pkg}/[\w$]+;".encode())
|
|
classes = sorted(set(m.group().decode()[1:-1].replace("/", ".") for m in pat.finditer(data)))
|
|
print(f"\n=== {pkg} ({len(classes)} classes) ===")
|
|
short = [c for c in classes if len(c.split(".")[-1]) <= 12 and "shpssdk" in c]
|
|
for c in short[:40]:
|
|
print(" ", c)
|