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:
20
reverse/scripts/_debug_pin.py
Normal file
20
reverse/scripts/_debug_pin.py
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
import re
|
||||
import sys
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
path = sys.argv[1]
|
||||
root = ET.parse(path).getroot()
|
||||
|
||||
def center(b):
|
||||
m = re.match(r"\[(\d+),(\d+)\]\[(\d+),(\d+)\]", b or "")
|
||||
if not m:
|
||||
return None
|
||||
x1, y1, x2, y2 = map(int, m.groups())
|
||||
return (x1 + x2) // 2, (y1 + y2) // 2
|
||||
|
||||
for n in root.iter("node"):
|
||||
t = n.get("text") or ""
|
||||
pt = center(n.get("bounds"))
|
||||
if pt and 600 <= pt[1] <= 800:
|
||||
print(repr(t), pt, "PIN" in t.upper(), "6位" in t)
|
||||
Reference in New Issue
Block a user