新增 MariBank/SeaBank PH Root 与 SHPSSDK bypass、riskToken 净化及 Up/Suncorp/ubank 消息 Hook;整理 reverse/ 脚本与 Frida 工具链,并补充当日工作说明文档。
15 lines
519 B
Python
15 lines
519 B
Python
# -*- coding: utf-8 -*-
|
|
import os
|
|
import zipfile
|
|
from pathlib import Path
|
|
|
|
APK = Path(__file__).resolve().parent.parent / "apks" / "seabank_ph_base.apk"
|
|
OUT = Path(__file__).resolve().parent.parent / "extracted" / "native"
|
|
OUT.mkdir(parents=True, exist_ok=True)
|
|
with zipfile.ZipFile(str(APK)) as zf:
|
|
for name in zf.namelist():
|
|
if "libshpssdk" in name and name.endswith(".so"):
|
|
dest = OUT / Path(name).name
|
|
dest.write_bytes(zf.read(name))
|
|
print(dest, dest.stat().st_size)
|