当前位置:网站首页>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 .
边栏推荐
- 一、迁移学习与fine-tuning有什么区别?
- [target detection] generalized focal loss v1
- 【Transformer】SegFormer:Simple and Efficient Design for Semantic Segmentation with Transformers
- Nifi changed UTC time to CST time
- 这些你一定要知道的进程知识
- 二、OCR训练时,将txt文件和图片数据转为lmdb文件格式
- GAN:生成对抗网络 Generative Adversarial Networks
- The differences and reasons between MySQL with and without quotation marks when querying string types
- Realize the scheduled backup of MySQL database in Linux environment through simple script (mysqldump command backup)
- Yum local source production
猜你喜欢

【目标检测】Generalized Focal Loss V1

这些你一定要知道的进程知识

pip安装后仍有解决ImportError: No module named XX

迁移学习——Robust Visual Domain Adaptation with Low-Rank Reconstruction

虚假新闻检测论文阅读(一):Fake News Detection using Semi-Supervised Graph Convolutional Network

神经网络相关知识回顾(PyTorch篇)

Briefly talk about the difference between pendingintent and intent

【Transformer】AdaViT: Adaptive Vision Transformers for Efficient Image Recognition

预训练语言模型的使用方法

研究生新生培训第三周:ResNet+ResNeXt
随机推荐
ROS常用指令
微信小程序源码获取(附工具的下载)
迁移学习——Robust Visual Domain Adaptation with Low-Rank Reconstruction
迁移学习——Transfer Joint Matching for Unsupervised Domain Adaptation
迁移学习——Low-Rank Transfer Subspace Learning
Realize the scheduled backup of MySQL database in Linux environment through simple script (mysqldump command backup)
isAccessible()方法:使用反射技巧让你的性能提升数倍
C # judge whether the user accesses by mobile phone or computer
性能优化之趣谈线程池:线程开的越多就越好吗?
Briefly talk about the difference between pendingintent and intent
第一周任务 深度学习和pytorch基础
【Transformer】SegFormer:Simple and Efficient Design for Semantic Segmentation with Transformers
[overview] image classification network
【Attention】Visual Attention Network
二、深度学习数据增强方法汇总
Spring, summer, autumn and winter with Miss Zhang (2)
迁移学习—— Transfer Feature Learning with Joint Distribution Adaptation
【图像分类】如何使用 mmclassification 训练自己的分类模型
AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
【语义分割】SETR_Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformer