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:
19
reverse/scripts/scan_tng_nativelib2.py
Normal file
19
reverse/scripts/scan_tng_nativelib2.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""Find NativeLib method signatures / loadLibrary name via dex string proximity."""
|
||||
import re
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
apk = Path(r"C:\Users\Administrator\Desktop\notiMessage\reverse\apks\tng\base.apk")
|
||||
with zipfile.ZipFile(apk) as z:
|
||||
for name in z.namelist():
|
||||
if not name.endswith(".dex"):
|
||||
continue
|
||||
data = z.read(name)
|
||||
if b"NativeLib" not in data and b"native-lib" not in data:
|
||||
continue
|
||||
print("===", name, "===")
|
||||
for pat in [b"NativeLib", b"native-lib", b"getApiSixSecretKeys", b"RetrieveFromNativeLibs", b"Lcom/tngd/networksdk"]:
|
||||
for m in re.finditer(pat, data):
|
||||
ctx = data[max(0, m.start()-60):m.end()+100]
|
||||
ctx = bytes(c if 32 <= c < 127 else 46 for c in ctx)
|
||||
print(pat.decode(), "@", m.start(), ":", ctx.decode())
|
||||
Reference in New Issue
Block a user