WeChat applet decompilation
Decompilation will involve the following tools
node
wxappUnpacker 基于node.js写的微信反编译脚本
模拟器,模拟器有很多,如(雷电、夜神、逍遥),这里我用的逍遥安卓模拟器,如果启动了hyper-v,可以在cmd中执行bcdedit /set hypervisorlaunchtype off进行关闭
After starting the emulator, install two tools:
微信
RE文件管理器
WeChat installation is very convenient, just search directly, but the RE file manager cannot be searched in Xiaoyao and Yeshen, but can be directly searched and installed in Thunderbolt, because I use the Xiaoyao emulator here, so I have to manage the RE file first Download the APK package of the emulator, and then use the APK installation function of the emulator to install it
Then log in to WeChat, access the applet you want to crack, after accessing, enter /data/data/com.tencent.mm/MicroMsg through the RE file manager
Select the hash value folder updated in the last time, and after entering /appbrand/pkg, you can see our small program package
Then we long press to select the file and click copy
Then click tab to enter /storage/Download/ and paste
Enter the shared directory, and you can see the small program package we just copied
Well, we got the small program package, then we will start to decompile, now we go to github to download wxappUnpacker, after downloading, execute the command once
npm install
npm install esprima
npm install css-tree
npm install cssbeautify
np