Files
notiMessage/reverse/scripts/find_unavailable_i18n.py
mars 609635aba1 chore: 备份 TNG 注册/captcha 逆向与 MariBank SG bypass 进展
TngRootBypassHook 增强 captcha 诊断、TigerTally/JNIC 分层与 HWUI 策略;新增逆向脚本、Frida 工具与 UI dump;同步 MariBank SG hook 与 tng_exit_guard 更新。
2026-08-03 15:23:02 +08:00

18 lines
653 B
Python

# -*- 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:
for name in zf.namelist():
if not name.endswith((".json", ".jsbundle")):
continue
data = zf.read(name)
if b"currently unavailable" not in data and b"system is currently" not in data:
continue
text = data.decode("utf-8", errors="replace")
for m in re.finditer(r".{0,40}currently unavailable.{0,60}", text):
print(f"\n[{name}]")
print(m.group().replace("\n", " ")[:200])