|
|
发表于
2025-10-19 12:31:04
来自手机
|
显示全部楼层
来自 广西
ym06 发表于 2025-10-19 00:47
1佬自用代码发下
字符串类型方法返回布尔值用下面的代码
const/4 v0, 0x1
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
dex搜索下面的代码找入口,xml里搜application替换
.super Landroid/app/Application;
360加固软件特征正则替换空
const .*\s*invoke-static \{.*\}, Lcom/stub/StubApp;->.*\(I\)V|invoke-static \{.*\}, Lcom/stub/StubApp;->.*\(Landroid/app/Activity;\[Ljava/lang/String;I\)V|invoke-static/range \{.*\}, Lcom/stub/StubApp;->.*\(Landroid/content/Context;\)Landroid/content/Context;\s*move-result-object (.*)|invoke-static \{.*\}, Lcom/stub/StubApp;->.*\(I\[Ljava/lang/String;\[I\)V|invoke-static \{\}, Lcom/stub/StubApp;->.*\(\)V|invoke-static \{.*\}, Lcom/stub/StubApp;->.*\(Ldalvik/system/DexFile;\)Ljava/util/Enumeration;\s*move-result-object (.*)\s*
flutter软件通常30改20,有20没30的在开头把下面代码粘贴上去
mov x0, #1
ret
下载完成后,给予文件所有访问权限
pkg install python3
pkg install git
git clone https://github.com/AbhiTheModder/blutter-termux.git
pip install requests pyelftools && pkg install -y cmake ninja build-essential pkg-config libicu capstone fmt
cd blutter-termux
python3 blutter.py /storage/emulated/0/Download/arm64-v8a /storage/emulated/0/Download/lib
isvip要根据抓包情况替换
const-string v0, "\"isVip\":0"
const-string v2, "\"isVip\":1"
invoke-virtual {v1, v0, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;move-result-object v1
const-.*L活动类名
const-.*L
()Z
hbctool逆向React Native软件
①更新系统并安装依赖
pkg update && pkg upgrade -y
pkg install python git zip unzip -y
②安装Python3.11
pkg install python python-pip -y
③克隆魔改版Hbctool
git clone https://github.com/Kirlif/HBC-Tool.git
cd HBC-Tool
④安装Hbctool
pip install .
⑤验证安装
hbctool --help
⑥反编译指令
cd /storage/emulated/0/我的文件/反编译
hbctool disasm index.android.bundle disasm_out
⑦回编译指令
回编译为index.android.bundle文件
hbctool asm disasm_out index.android.bundle
单页正则,关键词isvip可以替换
GetById(?:Short)?\s+Reg8:(\d+),\s*Reg8:\d+,\s*UInt8:\d+,\s*UInt(?:8|16):\d+\s*;\s*Oper\[3\]:\s*String\(\d+\)\s*'isvip'
单页替换
LoadConstTrue Reg8:$1 |
|