排行榜 统计
  • 建站日期:2021-05-20
  • 文章总数:144 篇
  • 评论总数:694 条
  • 分类总数:4 个
  • 最后更新:5月5日
原创原创教学

微信小程序反编译提取前端代码教学

本文阅读 3 分钟
首页 原创教学 正文
本文最后更新于2022年01月23日,已超过119天没有更新。如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!

今天得教程开始了哟,我得QQ:345179552

我的博客 https://www.ia3.cn

好,我们开始今天的教程。

这个就是我的博客站点了,有想换友链的小伙伴可联系我互换。

好了开整今天的课程教学吧。

为了节省时间,我们就拿他做今晚的教学了!

解压出来后,我们开始进行反编译提取前端代码。

准备环境

  • Node.js(
  • 微信开发者工具
  • Root权限真机
  • Re文件管理器
  • 微信
  • 反编译脚本

这里的环境我已经下载安装好了,所有安装方法都是直接下一步。无技术含量,我也就不做演示了~

我们先去找个小程序吧!

获取小程序源码加密包

/data/data/com.tencent.mm/MicroMsg/XXX....../appbrand/pkg

反编译依赖安装

这里是安装环境大家看我操作。

进入 D:wxappUnpacker-master> 后,一次输入以下代码进行安装环境就可以了,这里我已经安装好了。

我就不做演示了,我们直接开始反编译小程序。

npm install esprima

npm install css-tree

npm install cssbeautify

npm install vm2

npm install uglify-es

npm install js-beautify

npm install escodegen

npm install cheerio

调用方法

node .wuWxapkg.js 文件路径

提示反编译成功:

Header info:
firstMark: 0xbe
unknownInfo:  0
infoListLength:  4681
dataLength:  1600983
lastMark: 0xed

File list info:
fileCount:  93
Saving files...
Unpack done.
Split app-service.js and make up configs & wxss & wxml & wxs...
deal config ok
deal js ok
deal wxss.js ok
deal css ok
=======================================================
这个小程序采用了分包
子包个数为:  2
=======================================================
splitJs: C:\Users\Administrator\Desktop\123\_-10432775_2\app-service.js
C:\Users\Administrator\Desktop\123\_-10432775_2     0A487785C3093CAF6C2E1F8256709A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2     11C7E2D2C3093CAF77A18AD520B09A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2     2D5597E5C3093CAF4B33FFE275D09A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2     3F3341D6C3093CAF595529D12F209A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2     4263D5E3C3093CAF2405BDE4BD109A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 50339501C3093CAF3655FD062F409A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 52C6D216C3093CAF34A0BA11A7F09A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 63654245C3093CAF05032A424E609A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 6C51B952C3093CAF0A37D155C2409A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 7A9DCEF5C3093CAF1CFBA6F23AB09A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 7AB754F7C3093CAF1CD13CF0B1109A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 83DF3055C3093CAFE5B9585234A09A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 87DC0FF6C3093CAFE1BA67F15AC09A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 97511760C3093CAFF1377F6709809A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 @babel/runtime/helpers/Arrayincludes.js
C:\Users\Administrator\Desktop\123\_-10432775_2 @babel/runtime/helpers/defineProperty.js
C:\Users\Administrator\Desktop\123\_-10432775_2 @babel/runtime/helpers/interopRequireDefault.js
C:\Users\Administrator\Desktop\123\_-10432775_2 @babel/runtime/helpers/typeof.js
C:\Users\Administrator\Desktop\123\_-10432775_2 AFA00A02C3093CAFC9C6620577309A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 B0221547C3093CAFD6447D40AC509A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 B52F64F0C3093CAFD3490CF795E09A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 DEE5BEB1C3093CAFB883D6B6B1009A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 EA5C0990C3093CAF8C3A619769909A33.js
C:\Users\Administrator\Desktop\123\_-10432775_2 app.js
C:\Users\Administrator\Desktop\123\_-10432775_2 components/tip/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 dist/button/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 dist/cell-group/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 dist/cell/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 dist/icon/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 dist/notice-bar/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/cishu/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/favorite/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/help/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/index/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/invite/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/keypay/keypay.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/md5/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/member/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/pay/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/play/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/shibai/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/user/user.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/video/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 gzy_shortvideo/pages/web/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 sdk/tips/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2     tommie_duanshiping/pages/md5s/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/pay/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/tuijian/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/index/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/member/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/play/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/video/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/favorite/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/help/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/tuji/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/keypay/keypay.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/web/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/md5/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/shibai/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/invite/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/cishu/index.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/cj/cj.js
C:\Users\Administrator\Desktop\123\_-10432775_2 tommie_duanshiping/pages/user/user.js
Splitting "C:\Users\Administrator\Desktop\123\_-10432775_2\app-service.js"     done.
Decompile ./components/tip/index.wxml...
Decompile success!
Decompile ./dist/button/index.wxml...
Decompile success!
Decompile ./dist/cell-group/index.wxml...
Decompile success!
Decompile ./dist/cell/index.wxml...
Decompile success!
Decompile ./dist/icon/index.wxml...
Decompile success!
Decompile ./dist/notice-bar/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/cishu/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/favorite/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/help/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/index/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/invite/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/keypay/keypay.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/md5/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/member/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/pay/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/play/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/shibai/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/user/user.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/video/index.wxml...
Decompile success!
Decompile ./gzy_shortvideo/pages/web/index.wxml...
Decompile success!
Decompile ./sdk/tips/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/cishu/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/cj/cj.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/favorite/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/help/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/index/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/invite/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/keypay/keypay.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/md5/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/md5s/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/member/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/pay/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/play/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/shibai/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/tuijian/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/tuji/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/user/user.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/video/index.wxml...
Decompile success!
Decompile ./tommie_duanshiping/pages/web/index.wxml...
Decompile success!
Guess wxss(first turn)...
Import count info: {}
Guess wxss(first turn) done.
Generate wxss(second turn)...
Generate wxss(second turn) done.
Save wxss...
saveDir: C:\Users\Administrator\Desktop\123\_-10432775_2
Split and make up done.
Delete files...
Deleted.

File done.
Total use: 1.267s

我们进行调试看看,反编译后的程序会生成在指定的目录下。

我 们对比一下确认下。这里我建议调试关闭验证!

看我操作。看到了吗 开始没有图片信息,现在出来了。

OK 完全没有问题,完整无错。 我们测试下功能~

等下,我随便找个短视频,功能也完全没有问题!

搞定收工,今晚的教程就到这了哟,小伙伴们有不懂得地方可咨询我。

最后希望大家能微信搜索一下我们得小程序:新睿博客网 给我们得小程序点个赞!

课件教学图

blockchain

下载地址 密码:6few
特别声明:所有资源均收集于互联网仅供学习、参考和研究,下载的资源和程序源码组件因其特殊性均为可复制品,所以不支持任何理由的退款兑现,请认真阅读本站声明和相关条款后再办理新睿会员进行资源下载,办理新睿会员唯一联系QQ:345179552。
原创文章,作者:admin,如若转载,请注明出处:https://xinr.vip/archives/91.html
最新去水印小程序源码(独立后台)
« 上一篇 06-18
最新萝卜影视前端源码4.11
下一篇 » 06-21
广告

发表评论

V注册会员 L评论等级
R13 条回复
  1. qqwwqq123VLv.2 说道:
    2021-12-15     Win 10 /    QQ浏览器

    积极攒积分

  2. 549916104VLv.4 说道:
    2021-12-04     Android /    Chrome

    666666666

  3. wansenVLv.2 说道:
    2021-11-10     Win 10 /    Chrome

    我要试一下

  4. gamer520VLv.3 说道:
    2021-11-09     Win 8.1 /    Chrome

    攒积分啦

  5. 财子VLv.1 说道:
    2021-10-10     Win 10 /    Chrome

    非常给力的教程

  6. 柠檬VLv.3 说道:
    2021-10-08     Win 10 /    FireFox

    学会了,感谢

  7. zhuweiVLv.1 说道:
    2021-08-14     Win 10 /    QQ浏览器

    可以

  8. happyzfwVLv.5 说道:
    2021-08-09     Win 10 /    Chrome

    感谢楼主+1

  9. 549916104VLv.4 说道:
    2021-08-09     Android /    Chrome

    666

  10. 长情VLv.4 说道:
    2021-07-30     Win 10 /    Chrome

    又来回复一遍,我要全部回复个遍

  11. li666888VLv.2 说道:
    2021-07-30     Win 10 /    Chrome

    积分加一。

  12. 长情VLv.4 说道:
    2021-07-18     Android /    QQ浏览器

    厉害了厉害了师傅

    1. adminVLv.4 说道:
      2021-07-18     Android /    Chrome

      @长情

      谢谢你对本站的支持!

没有更多评论了

作者信息

广告

动态快讯

热门文章

最多点赞

16赞, 阅读:1.4k
15赞, 阅读:3k
13赞, 阅读:1.2k
12赞, 阅读:3.4k
广告

标签TAG

热评文章