{"id":14637811,"url":"https://github.com/wux1an/wxapkg","last_synced_at":"2025-05-15T08:05:21.409Z","repository":{"id":168292794,"uuid":"643972624","full_name":"wux1an/wxapkg","owner":"wux1an","description":"微信小程序反编译工具，.wxapkg 文件扫描 + 解密 + 解包工具","archived":false,"fork":false,"pushed_at":"2024-06-19T12:15:21.000Z","size":293,"stargazers_count":2454,"open_issues_count":30,"forks_count":511,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-04-11T19:55:20.949Z","etag":null,"topics":["decompile","decrypt","reverse-engineering","wechat","wechat-app","wechat-mini-program","wexin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wux1an.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-22T14:35:29.000Z","updated_at":"2025-04-11T15:26:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6d9947f-e439-4d9a-aa98-90c9c6b5589a","html_url":"https://github.com/wux1an/wxapkg","commit_stats":null,"previous_names":["wux1an/wxapkg"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wux1an%2Fwxapkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wux1an%2Fwxapkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wux1an%2Fwxapkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wux1an%2Fwxapkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wux1an","download_url":"https://codeload.github.com/wux1an/wxapkg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301431,"owners_count":22047904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decompile","decrypt","reverse-engineering","wechat","wechat-app","wechat-mini-program","wexin"],"created_at":"2024-09-10T02:01:16.680Z","updated_at":"2025-05-15T08:05:21.299Z","avatar_url":"https://github.com/wux1an.png","language":"Go","funding_links":[],"categories":["逆向破解","Go"],"sub_categories":[],"readme":"# wxapkg\n\n\u003e **免责声明**：此工具仅限于学习和研究软件内含的设计思想和原理，用户承担因使用此工具而导致的所有法律和相关责任！作者不承担任何法律责任！\n\n## 📝 功能\n\n- [x] 获取小程序信息（需要网络连接）\n- [x] 代码美化，默认开启，可以使用 `--disable-beautify` 参数禁用\n    - [x] 美化 `JSON` 文件\n    - [x] 美化 `JavaScript` 文件（会有点慢）\n    - [x] 美化 `Html` 文件，包括其中的 `\u003cscript\u003e` 标签（会有点慢）\n- [ ] 解析并还原成小程序原始源码文件结构 [#6](https://github.com/wux1an/wxapkg/issues/6)\n- [ ] 自动导出文件中的敏感 url 和 key 等信息\n\n## 🎨 用法\n\n![demo](demo.gif)\n\n一般用法如下，目前**只支持 windows 系统**：\n\n1. 用 PC 版微信打开小程序来让微信下载小程序  \n2. 使用 `wxapkg.exe scan` 命令来扫描所有小程序。需要**联网**获取小程序的名称、路径、wxid（用于后续解密）等信息  \n3. 使用键盘上下键选中想要处理的小程序，然后按回车来执行解密+解包  \n\n如果想手动来解密指定小程序，可以使用 `wxapkg.exe unpack` 命令，需要指定小程序 wxapkg 文件路径，同时指定小程序的 `wxid`。如果没指定 `wxid`，会自动从路径中使用正则表达式匹配获取\n\n## ⚒️ 安装\n\n下载最新的发布版本 [release](https://github.com/wux1an/wxapkg/releases/latest)，或者用下面的命令自己编译\n\n```\ngo install github.com/wux1an/wxapkg@latest\n```\n\n## 🔗 参考\n\n- 小程序解密: https://github.com/BlackTrace/pc_wxapkg_decrypt\n- 小程序解包: [https://gist.github.com/Integ/bcac5c21de5ea3...](https://gist.github.com/Integ/bcac5c21de5ea35b63b3db2c725f07ad)\n- 原理介绍: [https://misakikata.github.io/2021/03/%E5%BE%...](https://misakikata.github.io/2021/03/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E8%A7%A3%E5%8C%85/)\n- 终端 ui 库: https://github.com/charmbracelet/bubbletea\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwux1an%2Fwxapkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwux1an%2Fwxapkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwux1an%2Fwxapkg/lists"}