feat(maribank): PH 注册 OTP 突破、SG bypass 与中文文档
菲律宾 SeaBank 在 Root+LSPosed+Shamiko 下 register 已通过并触发 OTP;扩展 SG 包名、加密前 Hook、Magisk 设备伪装脚本,并将 docs 整理为中文操作与风控说明。
This commit is contained in:
39
reverse/scripts/find_sg_adb_strings.py
Normal file
39
reverse/scripts/find_sg_adb_strings.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# -*- 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:
|
||||
data = b"".join(zf.read(n) for n in zf.namelist() if n.endswith(".dex"))
|
||||
|
||||
for pat in [
|
||||
b"Does not support",
|
||||
b"Turn Off ADB",
|
||||
b"Wireless ADB",
|
||||
b"ADB/Wireless",
|
||||
b"support root",
|
||||
b"RISK_USB_ADB",
|
||||
b"RISK_WIFI_ADB",
|
||||
b"KEY_ALLOW_ADB",
|
||||
b"SafeModeRecover",
|
||||
b"sg.com.maribank",
|
||||
]:
|
||||
print(pat.decode(), "->", data.count(pat))
|
||||
|
||||
print("\n--- UI strings ---")
|
||||
for m in re.finditer(rb"[\x20-\x7e]{10,200}", data):
|
||||
s = m.group().decode("ascii", "ignore")
|
||||
sl = s.lower()
|
||||
if ("adb" in sl and ("detect" in sl or "turn" in sl or "wireless" in sl or "debug" in sl)) or "does not support root" in sl:
|
||||
print(s)
|
||||
|
||||
print("\n--- Application ---")
|
||||
for m in re.finditer(rb"Lcom/shopee/bke/[\w$/]*Application[\w$/]*;", data):
|
||||
print(m.group().decode())
|
||||
|
||||
print("\n--- ADB risk classes ---")
|
||||
for m in re.finditer(rb"L[\w$/]*(adb|Adb|ADB)[\w$/]*;", data):
|
||||
c = m.group().decode()
|
||||
if "shopee" in c.lower() or "bke" in c.lower() or "shps" in c.lower():
|
||||
print(c)
|
||||
Reference in New Issue
Block a user