TngRootBypassHook 增强 captcha 诊断、TigerTally/JNIC 分层与 HWUI 策略;新增逆向脚本、Frida 工具与 UI dump;同步 MariBank SG hook 与 tng_exit_guard 更新。
25 lines
682 B
Python
25 lines
682 B
Python
# -*- coding: utf-8 -*-
|
|
import zipfile
|
|
from pathlib import Path
|
|
|
|
APK = Path(__file__).resolve().parent.parent / "apks" / "maribank_sg_base.apk"
|
|
needles = [
|
|
b"The system is currently unavailable",
|
|
b"dfp is empty",
|
|
b"getDfp",
|
|
b"preCheck",
|
|
b"register",
|
|
b"Sign up with mobile",
|
|
b"msg_ekyc_singpass_service_error",
|
|
b"general_error",
|
|
b"GlobalAuth",
|
|
]
|
|
with zipfile.ZipFile(str(APK)) as zf:
|
|
bundles = [n for n in zf.namelist() if n.endswith(".jsbundle")]
|
|
print("bundles:", len(bundles))
|
|
for name in bundles:
|
|
data = zf.read(name)
|
|
hits = [n.decode() for n in needles if n in data]
|
|
if hits:
|
|
print(name, hits)
|