当前位置:网站首页>Wechat applet source code acquisition (download with tools)
Wechat applet source code acquisition (download with tools)
2022-07-29 06:05:00 【Spicy next door 4】
In many cases, we need to learn from the page style of wechat applet . So we need to reverse crack it . The following is the flow chart of reverse cracking
The first is to crack the desktop applet of wechat computer :
As long as you log in to the computer wx And used small programs , Then under the corresponding path WeChat Files\Applet There will be a lot of .wxapkg Final document , for example __APP__.wxapkg.pc The applet code on the end is encrypted , You need to decrypt it with a tool before decompiling .

Decryption tools :https://github.com/nieweiming/pc_wxapkg_decrypt_python ( Need to install locally python3 Running environment , Used to decode pc End applet package , That is to say, it is resolved into the mobile terminal of the source ecosystem wxapkg, You can also go to https://download.csdn.net/download/u012115730/86263247 The file I uploaded for download response .
Put the downloaded file under the folder to be decrypted . Here's the picture :

Then open the dos The window runs the following command under this folder :
python main.py --wxid wx4f1556ccc57611f6v --file __APP__.wxapkg --output main.wxapkgAfter running, it will appear main.wxapkg This file . This is the decrypted file .
notes : During the running process, the package does not exist .
ModuleNotFoundError: No module named ‘Crypto.Cipher‘If we encounter this mistake . Description package does not exist . use pip Install the package .
pip install pycryptodomeThen find your python Installation of road force ,python\Lib\site-packages, There is a folder called crypto, Lower case c Put it in capital letters C Just ok 了
The next step is to install node.js Related decompression files
without node.js Then install the response . There is no talk here . Install self Baidu search .
After installed , git Download decompiler https://github.com/gudqs7/wxappUnpacker/tree/master( Attention should be paid to git The downloaded folder is empty , Downloadable zip Extract it again ). You can also go to Small program decompression package . Get the original applet - Applet document class resources -CSDN download Download here
After downloading, follow the following steps to install the response node package .
npm install esprima
npm install css-tree
npm install cssbeautify
npm install vm2
npm install uglify-es
npm install js-beautifyThe following is a screenshot of the installation process :

After installation, you will get main.wxapkg This file is placed in wxappUnpacker-master Under this folder .
Then execute the decompile command
node wuWxapkg.js The path of the applet code to decompile .wxapkg
node wuWxapkg.js main.wxapkgAfter the execution is complete , A default will be generated in the current script directory main Folder , Inside is the small program front-end code we want

Since then . The computer client method of decompiling wechat applet ends .
边栏推荐
- NLP领域的AM模型
- 【Transformer】TransMix: Attend to Mix for Vision Transformers
- Spring, summer, autumn and winter with Miss Zhang (5)
- Show profiles of MySQL is used.
- Detailed explanation of tool classes countdownlatch and cyclicbarrier of concurrent programming learning notes
- 【比赛网站】收集机器学习/深度学习比赛网站(持续更新)
- ASM piling: after learning ASM tree API, you don't have to be afraid of hook anymore
- isAccessible()方法:使用反射技巧让你的性能提升数倍
- 【Transformer】ACMix:On the Integration of Self-Attention and Convolution
- 【bug】XLRDError: Excel xlsx file; not supported
猜你喜欢

【卷积核设计】Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNs
![[target detection] 6. SSD](/img/7d/f137ffa4b251360441a9e4ff0f2219.png)
[target detection] 6. SSD

【Clustrmaps】访客统计
![[clustmaps] visitor statistics](/img/1a/173664a633fd14ea56696dd824acb6.png)
[clustmaps] visitor statistics
![[semantic segmentation] overview of semantic segmentation](/img/79/0c22bd28206fee281fa754c336b3b4.png)
[semantic segmentation] overview of semantic segmentation

Error in installing pyspider under Windows: Please specify --curl dir=/path/to/build/libcurl solution
![[convolution kernel design] scaling up your kernels to 31x31: revising large kernel design in CNN](/img/71/f3fdf677cd5fddefffd4715e747297.png)
[convolution kernel design] scaling up your kernels to 31x31: revising large kernel design in CNN

深入理解MMAP原理,让大厂都爱不释手的技术

Interesting talk about performance optimization thread pool: is the more threads open, the better?
![[ml] PMML of machine learning model -- Overview](/img/a1/cd3eff044d903dbcfb880e854713e5.png)
[ml] PMML of machine learning model -- Overview
随机推荐
ROS教程(Xavier)
DataX installation
【Attention】Visual Attention Network
Basic use of array -- traverse the circular array to find the maximum value, minimum value, maximum subscript and minimum subscript of the array
Flutter正在被悄悄放弃?浅析Flutter的未来
Detailed explanation of tool classes countdownlatch and cyclicbarrier of concurrent programming learning notes
Spring, summer, autumn and winter with Miss Zhang (3)
【综述】图像分类网络
GAN:生成对抗网络 Generative Adversarial Networks
Detailed explanation of atomic operation class atomicinteger in learning notes of concurrent programming
【bug】XLRDError: Excel xlsx file; not supported
Spring, summer, autumn and winter with Miss Zhang (2)
【Transformer】ACMix:On the Integration of Self-Attention and Convolution
PyTorch基础知识(可入门)
Reporting service 2016 custom authentication
MarkDown简明语法手册
简单聊聊 PendingIntent 与 Intent 的区别
ASM piling: after learning ASM tree API, you don't have to be afraid of hook anymore
[ml] PMML of machine learning model -- Overview
【卷积核设计】Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNs