10

GitHub - xuedingmiaojun/wxappUnpacker: 小程序反编译(支持分包)

 2 years ago
source link: https://github.com/xuedingmiaojun/wxappUnpacker
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
xuedingmiaojun/wxappUnpacker: 小程序反编译(支持分包)
npm install
npm install esprima
    
npm install css-tree
    
npm install cssbeautify
    
npm install vm2
    
npm install uglify-es
    
npm install js-beautify

当检测到 wxapkg 为子包时, 添加-s 参数指定主包源码路径即可自动将子包的 wxss,wxml,js 解析到主包的对应位置下. 完整流程大致如下:

  1. 获取主包和若干子包
  2. 解包主包
    • windows系统使用: ./bingo.bat testpkg/master-xxx.wxapkg
    • Linux系统使用: ./bingo.sh testpkg/master-xxx.wxapkg
  3. 解包子包
    • windows系统使用: ./bingo.bat testpkg/sub-1-xxx.wxapkg -s=../master-xxx
    • Linux系统使用: ./bingo.sh testpkg/sub-1-xxx.wxapkg -s=../master-xxx

觉得麻烦?可以使用自助解包客户端

-s 参数可为相对路径或绝对路径, 推荐使用绝对路径, 因为相对路径的起点不是当前目录 而是子包解包后的目录

├── testpkg
│   ├── sub-1-xxx.wxapkg #被解析子包
│   └── sub-1-xxx               #相对路径的起点
│       ├── app-service.js
│   ├── master-xxx.wxapkg
│   └── master-xxx             # ../master-xxx 就是这个目录
│       ├── app.json

逆向教程小程序

自助解包客户端

基于electron-vue开发的微信小程序自助解包(反编译)客户端

小程序逆向视频专栏

  • 还是不知道怎么逆向?
  • 遇到问题不会处理?

快来看看视频系列课程吧~
人人都能学会的微信小程序逆向技能

逆向疑难小程序

微信小程序多端实时运行工具

WEPT项目从最近到后续即将升级WEPT2.0版本,支持运行微信小程序 小游戏基础库2.9后版本功能,同时支持实现ios Android三端统一运行环境,欢迎大家持续关注

  • WEPT 是一个微信小程序实时开发环境,它的目标是为小程序开发提供高效、稳定、友好、无限制的运行环境。
  • 项目后台使用 node 提供服务完全动态生成小程序,前端实现了 view 层、service 层和控制层之间的相关通讯逻辑。
  • 支持iOS Android Mac, Window 以及 Linux

实现微信小程序最新运行环境


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK