WeChat Mini Program Package Extraction

Article Directory

First of all, we need to prepare an Android emulator here. The lightning emulator I use here can also be selected by other emulators.

After downloading WeChat on the emulator and logging in, you can find the corresponding subprogram and click to open it (due to compatibility issues, the WeChat subprogram may crash in the Android emulator, but this does not affect subsequent operations. The subprogram data package has been Downloaded as a self-contained version).

Here we first need to enter WeChat and find a small program
Insert picture description here
Insert picture description here

Then we can save it in the Android path: /data/data/com.tencent.mm/MicroMsg/{User ID}/appbrand/pkg/; the iOS save path: /var/mobile/Containers/Data/Application/{ Program UUID}/Library/WechatPrivate/{user ID}/WeApp/LocalCache/release/{small program ID}/) to find the small program package.

Insert picture description here
Find the path above.
Insert picture description here
First select all of them and
Insert picture description here
click to open the Android folder.
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
You can see the extracted
Insert picture description here
files. We use wxappUnpacker to unpack the tool (download link: https://data.hackinn.com/tools/wxappUnpacker.zip (remember) Copy here to Thunder to open the download), this download package is a second optimized version), directly use the "node wuWxapkg.js small package name" command to unpack it in one click (node.js and other components need to be installed in advance, Detailed instructions for use in the package), very convenient: install nodejs, unpack it,
and
Insert picture description here
then put it in the WeChat development applet for analysis. WeChat development applet download
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_45951598/article/details/115144826