今天网上找了个反编译小程序的教程,操作了很久,跳了许多坑,现在总结一下!
第一:获取小程序包
第二:安装环境
以上请看文章:https://blog.csdn.net/hugengzong/article/details/102541876
第三:反编译
CMD目录口令
cd /d C:\users\16256\we\wxappUnpacker-master\wuWxapkg
反编译口令
node C:\Users\16256\Desktop\we\wuWxapkg.js _21496187_10.wxapkg
node C:\Users\16256\Desktop\we\wuWxapkg.js C:\Users\16256\Desktop\we_21496187_10.wxapkg
安装依赖
npm install esprima
npm install css-tree
npm install cssbeautify
npm install vm2
npm install uglify-es
npm install js-beautify
npm install escodegen -g
npm install cheerio