Mini Program Reverse Tool | Capture WeChat Mini Program source code in 3 seconds

Table of contents

1. Tool preparation

2. Decrypt the applet

1. Find the small program package

2. Decrypt the small program package

3. Decompile the small program

1. Install dependencies

2. Perform decompilation

4. Complete


If you want to become a WeChat applet developer, it is very necessary to learn front-end ideas and be aware of security, so you must master the skills of applet decompilation.

Two tools are used here, "Packet Decryption" and "Decompilation" (not original, both from big guys on the Internet), which are especially suitable for novices, and they are both free!

The first operation may be slower, but once you become proficient, you can grab the source code of a small program in 3 seconds!

1. Tool preparation

Download address:Mini program reverse tool  Password: c2yu

2. Decrypt the applet

There are many tutorials on the Internet, which are divided into Apple and Android, and also require the use of emulators. In fact, it is not that troublesome, just use the WeChat PC client.

1. Find the small program package

Use the WeChat PC client to open a small program you want to grab the source code, and the small program package will be automatically generated locally, just in the document \WeChat Files\Applet directory.

But the file inside is encrypted:APP.wxapkg, so you need to use the following small package decryption software.

2. Decrypt the small program package

Select the encrypted applet package, decrypt it and place it in the wxpack folder. The decrypted file name is: applet appid.wxapkg

3. Decompile the small program

1. Install dependencies

The tool for decompiling small programs is written in node, so you need to install the dependencies. Enter the tool for decompiling small programs (i.e., wxappUnpacker folder), enter the terminal, and execute the installation dependency command.

npm install

2. Perform decompilation

After the installation and dependencies are completed, this tool can be used. The usage is as follows:

bingo.bat 解密后的主包.wxapkg

4. Complete

The decompiled file is saved in the same folder as [mini program appid.wxapkg] and is automatically named after [mini program appid]. At this time, you can open it with the WeChat applet development tool.

Guess you like

Origin blog.csdn.net/sunyctf/article/details/130723251