2023-08-25 11:30:17 +08:00
|
|
|
|
# <center>PyWxDump</center>
|
2023-07-23 13:05:26 +08:00
|
|
|
|
|
2023-10-16 10:46:21 +08:00
|
|
|
|
[](https://www.python.org/)
|
2023-10-17 14:21:42 +08:00
|
|
|
|
[](https://github.com/xaoyaoo/PyWxDump)
|
|
|
|
|
[](https://github.com/xaoyaoo/PyWxDump)
|
|
|
|
|
[](https://github.com/xaoyaoo/PyWxDump)
|
|
|
|
|
[](https://github.com/xaoyaoo/PyWxDump/fork)
|
|
|
|
|
[](https://github.com/xaoyaoo/PyWxDump/issues)
|
|
|
|
|
|
|
|
|
|
[](https://pypi.org/project/pywxdump/)
|
2023-10-28 19:26:16 +08:00
|
|
|
|
[](https://pypi.org/project/pywxdump/)
|
2023-11-14 18:39:39 +08:00
|
|
|
|
[](https://pypistats.org/packages/pywxdump)
|
2023-10-17 14:21:42 +08:00
|
|
|
|
[](https://github.com/xaoyaoo/PyWxDump/blob/master/LICENSE)
|
2023-10-31 19:29:02 +08:00
|
|
|
|
[](https://github.com/xaoyaoo/PyWxDump/actions/workflows/publish.yml)
|
2023-10-17 14:25:52 +08:00
|
|
|
|
|
2023-12-14 22:31:01 +08:00
|
|
|
|
* 欢迎大家提供更多的想法,或者提供代码,一起完善这个项目。
|
|
|
|
|
|
|
|
|
|
### 如有问题,请先查看:[FAQ](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/FAQ.md) 是否有答案,或者关注公众号回复: `FAQ`。
|
|
|
|
|
|
|
|
|
|
### 如果是小白,请关注公众号:`逍遥之芯` (右边二维码) ,回复:`PyWxDump` 获取图文教程。
|
|
|
|
|
|
2023-12-25 16:12:39 +08:00
|
|
|
|
qq交流群:577704006(左边二维码) or 点击链接加入群聊[pywxdump功能交流](https://s.xaoyo.top/gOLUDl)。
|
2023-12-15 09:32:49 +08:00
|
|
|
|
|
|
|
|
|
(因为qq群将满,所以进群需要密码,密码请查看[UserGuide.md](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/UserGuide.md))
|
2023-12-15 09:31:16 +08:00
|
|
|
|
|
2023-12-14 22:31:01 +08:00
|
|
|
|
<div>
|
|
|
|
|
<a href="https://s.xaoyo.top/gOLUDl">
|
|
|
|
|
<img width="40%" src="https://github.com/xaoyaoo/PyWxDump/blob/master/doc/qq.png" alt="QQ群" title="加入QQ群" height="300"></a>
|
|
|
|
|
<img align="right" width="40%" src="https://github.com/xaoyaoo/PyWxDump/blob/master/doc/qrcode_gh.jpg" alt="公众号" title="关注公众号" height="300">
|
|
|
|
|
</div>
|
2023-12-01 16:48:01 +08:00
|
|
|
|
|
2023-10-14 21:48:35 +08:00
|
|
|
|
# 一、项目介绍
|
2023-07-23 13:05:26 +08:00
|
|
|
|
|
2023-10-14 21:58:18 +08:00
|
|
|
|
## 1. 项目简介
|
2023-08-25 11:07:57 +08:00
|
|
|
|
|
2023-11-25 18:15:42 +08:00
|
|
|
|
[PyWxDump](https://github.com/xaoyaoo/PyWxDump)是一款用于获取账号信息(昵称/账号/手机/邮箱/数据库密钥)
|
|
|
|
|
、解密数据库、查看聊天记录、备份导出聊天记录为html的工具。
|
2023-11-15 15:37:02 +08:00
|
|
|
|
|
2023-10-17 10:40:28 +08:00
|
|
|
|
* <strong><big>
|
|
|
|
|
超级想要star,走过路过,帮忙点个[](https://github.com/xaoyaoo/PyWxDump/)
|
|
|
|
|
呗,谢谢啦~</big></strong>
|
2023-09-15 13:05:05 +08:00
|
|
|
|
|
2023-10-16 10:46:21 +08:00
|
|
|
|
## 2. 功能介绍
|
|
|
|
|
|
|
|
|
|
* (1)获取微信昵称、微信账号、微信手机号、微信邮箱、微信KEY的基址偏移
|
2023-11-15 15:37:02 +08:00
|
|
|
|
* (2)获取微信的微信昵称、微信账号、微信手机号、微信邮箱、微信KEY、微信原始ID(wxid_******)
|
2023-10-16 10:46:21 +08:00
|
|
|
|
* (3)获取微信文件夹路径
|
2023-11-15 15:37:02 +08:00
|
|
|
|
* (4)支持查看聊天记录查看
|
|
|
|
|
* (5)根据key解密微信数据库
|
2023-10-16 10:46:21 +08:00
|
|
|
|
* (6)提供数据库部分字段说明
|
2023-11-15 15:37:02 +08:00
|
|
|
|
* (7)支持微信多开场景,获取多用户信息等
|
|
|
|
|
* (8)微信需要登录状态才能获取数据库密钥
|
2023-11-22 18:33:49 +08:00
|
|
|
|
* (9)支持导出聊天记录为html,备份微信聊天记录,方便查看
|
2023-12-06 13:32:38 +08:00
|
|
|
|
* (10)合并多个数据库,方便查看
|
2023-12-15 18:37:04 +08:00
|
|
|
|
* (11)增加极简版pywxdump
|
2023-11-15 15:37:02 +08:00
|
|
|
|
|
|
|
|
|
**利用场景**
|
|
|
|
|
|
|
|
|
|
1. 钓鱼攻击(通过钓鱼控到的机器通常都是登录状态)
|
|
|
|
|
2. 渗透到运维机器(有些运维机器会日常登录自己的微信)
|
|
|
|
|
3. 某些工作需要取证(数据库需要拷贝到本地)
|
|
|
|
|
4. 自行备份(日常备份自己留存)
|
|
|
|
|
5. 等等...............
|
|
|
|
|
|
2024-01-01 21:17:45 +08:00
|
|
|
|
## 3. 更新计划
|
2023-12-14 22:28:56 +08:00
|
|
|
|
|
|
|
|
|
* 1.每个人聊天记录分析,生成词云。
|
|
|
|
|
* 2.分析每个人每天的聊天数量,生成折线图(天-聊天数量)
|
|
|
|
|
* 3.分析不同的人的月聊天数量,年聊天数量,生成折线图
|
|
|
|
|
* 4.生成年度可视化报告
|
|
|
|
|
* 5.创建GUI图形界面,方便使用
|
|
|
|
|
* 8.增加企业微信的支持
|
|
|
|
|
* 9.增加获取实时聊天记录的功能
|
|
|
|
|
* 10.聊天记录关键字搜索 或者按时间点搜索列出所有的联系人记录就nice了
|
|
|
|
|
* 11.增加好友的信息获取
|
|
|
|
|
* 12.备份后的聊天记录,恢复到微信中
|
2023-12-15 17:38:04 +08:00
|
|
|
|
* 13.朋友圈的查看与备份
|
2023-12-18 22:36:11 +08:00
|
|
|
|
* 14.微信存储空间清理,减少微信占用空间
|
2023-12-14 22:28:56 +08:00
|
|
|
|
|
|
|
|
|
## 4. 其他
|
|
|
|
|
|
2023-11-15 15:04:45 +08:00
|
|
|
|
[PyWxDump](https://github.com/xaoyaoo/PyWxDump)是[SharpWxDump](https://github.com/AdminTest0/SharpWxDump)
|
|
|
|
|
的经过重构python语言版本,同时添加了一些新的功能。
|
2023-10-17 10:40:28 +08:00
|
|
|
|
|
2023-11-22 18:33:49 +08:00
|
|
|
|
* 项目地址:https://github.com/xaoyaoo/PyWxDump
|
2023-12-01 17:06:58 +08:00
|
|
|
|
* 目前只在windows下测试过,mac、linux下可能会存在问题。
|
2023-12-06 18:05:13 +08:00
|
|
|
|
* 如发现[version_list.json](https://github.com/xaoyaoo/PyWxDump/tree/master/pywxdump/version_list.json)缺失或错误,
|
2023-10-17 11:59:10 +08:00
|
|
|
|
请提交[issues](https://github.com/xaoyaoo/PyWxDump/issues).
|
2023-10-17 10:58:57 +08:00
|
|
|
|
* 如发现bug或有改进意见, 请提交[issues](https://github.com/xaoyaoo/PyWxDump/issues).
|
|
|
|
|
* 如有其他想要的功能, 请提交[issues](https://github.com/xaoyaoo/PyWxDump/issues).
|
2023-12-06 18:05:13 +08:00
|
|
|
|
* 常见问题请参考[FAQ](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/FAQ.md)
|
|
|
|
|
* 更新日志请参考[CHANGELOG](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/CHANGELOG.md)
|
2023-12-06 14:04:00 +08:00
|
|
|
|
* [:sparkling\_heart: Support Me](https://github.com/xaoyaoo/xaoyaoo/blob/main/donate.md)
|
2023-10-17 10:40:28 +08:00
|
|
|
|
|
2023-12-14 22:31:01 +08:00
|
|
|
|
## 5. Star History
|
|
|
|
|
|
2023-12-01 17:15:59 +08:00
|
|
|
|
<details>
|
2023-12-14 22:31:01 +08:00
|
|
|
|
<summary>click to expand</summary>
|
2023-12-01 17:15:59 +08:00
|
|
|
|
|
2023-11-15 15:38:30 +08:00
|
|
|
|
[](https://star-history.com/#xaoyaoo/pywxdump&Date)
|
|
|
|
|
|
2023-12-01 17:15:59 +08:00
|
|
|
|
</details>
|
|
|
|
|
|
2023-11-15 15:25:02 +08:00
|
|
|
|
# 二、使用说明
|
2023-08-25 11:07:57 +08:00
|
|
|
|
|
2023-12-14 22:28:56 +08:00
|
|
|
|
* 详细使用说明见[UserGuide.md](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/UserGuide.md)
|
2023-12-01 17:18:12 +08:00
|
|
|
|
|
2023-12-15 18:37:04 +08:00
|
|
|
|
* 极简版使用说明[pywxdumpmini](https://github.com/xaoyaoo/pywxdumpmini)
|
|
|
|
|
|
2023-10-14 21:48:35 +08:00
|
|
|
|
【注】:
|
2023-10-06 11:28:45 +08:00
|
|
|
|
|
2023-12-14 20:39:31 +08:00
|
|
|
|
* 关于基址使用cheat engine获取,参考[CE获取基址.md](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/CE获取基址.md)
|
|
|
|
|
(该方法可用`wxdump bias`命令代替,现仅用作学习原理)
|
2023-12-06 18:05:13 +08:00
|
|
|
|
* 关于数据库解析,参考[wx数据库简述.md](https://github.com/xaoyaoo/PyWxDump/tree/master/doc/wx数据库简述.md)
|
2023-10-06 11:26:39 +08:00
|
|
|
|
|
2023-11-15 15:37:02 +08:00
|
|
|
|
# 三、免责声明(非常重要!!!!!!!)
|
2023-08-21 23:55:59 +08:00
|
|
|
|
|
2023-11-16 18:55:45 +08:00
|
|
|
|
本项目仅供学习交流使用,请勿用于非法用途,否则后果自负。
|
|
|
|
|
|
2023-11-22 18:33:49 +08:00
|
|
|
|
您应该在下载保存,编译使用本项目的24小时内,删除本项目的源代码和(编译出的)程序。
|
|
|
|
|
|
|
|
|
|
本项目仅允许在授权情况下对数据库进行备份,严禁用于非法目的,否则自行承担所有相关责任。
|
|
|
|
|
|
|
|
|
|
下载、保存、进一步浏览源代码或者下载安装、编译使用本程序,表示你同意本警告,并承诺遵守它;
|
2022-07-18 00:13:43 +08:00
|
|
|
|
|
|
|
|
|
请勿利用本项目的相关技术从事非法测试,如因此产生的一切不良后果与项目作者无关。
|
2023-10-17 11:59:10 +08:00
|
|
|
|
|
2023-11-15 15:37:02 +08:00
|
|
|
|
# 四、许可证
|
2023-10-17 11:59:10 +08:00
|
|
|
|
|
2023-11-08 20:05:21 +08:00
|
|
|
|
```text
|
|
|
|
|
MIT License
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2023 xaoyaoo
|
|
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
|
|
|
copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
|
|
PyWxDump is hosted at: https://github.com/xaoyaoo/PyWxDump
|
|
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
|
SOFTWARE.
|
2023-11-15 15:04:45 +08:00
|
|
|
|
```
|
|
|
|
|
|