2023-11-26 00:44:02 +08:00
< h1 align = "center" > 我的数据我做主< / h1 >
2023-10-25 23:40:31 +08:00
< div align = "center" >
2023-11-13 09:55:17 +08:00
< img src = "https://img.shields.io/badge/WeChat-解密-blue.svg" >
2023-10-25 23:40:31 +08:00
< a href = "https://github.com/LC044/WeChatMsg/stargazers" >
< img src = "https://img.shields.io/github/stars/LC044/WeChatMsg.svg" / >
< / a >
2023-11-10 23:31:41 +08:00
< a href = "https://github.com/LC044/WeChatMsg/issues" >
< img alt = "Issues" src = "https://img.shields.io/github/issues/LC044/WeChatMsg?color=0088ff" / >
< / a >
2023-10-25 23:40:31 +08:00
< a href = "./doc/readme.md" >
< img src = "https://img.shields.io/badge/文档-最新-brightgreen.svg" / >
< / a >
< a href = "LICENSE" >
2023-11-13 09:55:17 +08:00
< img src = "https://img.shields.io/github/license/LC044/WeChatMsg" / >
2023-10-25 23:40:31 +08:00
< / a >
< / div >
2023-11-26 00:44:02 +08:00
< div align = "center" >
2023-10-25 23:40:31 +08:00
2023-11-26 00:44:02 +08:00
< a > < img src = "./doc/images/logo.png" height = "240" / > < / a >
< / div >
2023-11-26 23:29:44 +08:00
2023-11-29 18:30:22 +08:00
## 🍉功能
2023-05-20 23:56:16 +08:00
2023-11-13 22:01:22 +08:00
- 破解📱手机微信数据库
2023-07-20 14:35:42 +08:00
- 安卓 or 苹果都可以哦
2023-11-13 22:01:22 +08:00
- 破解💻PC端微信数据库
- 还原微信聊天界面
2023-11-29 18:30:22 +08:00
- 🗨文本✅
- 🏝图片✅
- 🐻❄️表情包✅
2023-11-13 22:01:22 +08:00
- 导出聊天记录
2023-11-29 18:30:22 +08:00
- HTML(文本、图片)✅
- Word文档✅
- CSV文档✅
2023-05-20 23:56:16 +08:00
- 分析聊天数据,做成可视化年报
2023-11-03 23:43:25 +08:00
- 🔥**项目持续更新中**
2023-08-02 22:23:54 +08:00
- 小伙伴们想要其他功能可以留言哦🏆
- 有任何问题可以随时联系我(863909694@qq.com)
2023-05-20 23:56:16 +08:00
2023-11-03 23:43:25 +08:00
为了方便大家交流, 我新建了一个QQ群💬: **474379264**
2023-10-25 23:40:31 +08:00
2023-11-29 18:30:22 +08:00
大家有任何想法💡、建议或bug可以群里反馈给我
2023-10-25 23:40:31 +08:00
2023-11-19 14:01:34 +08:00
[//]: # (< img src = "doc/images/qq.jpg" height = 480/ > )
2023-10-25 23:40:31 +08:00
2023-11-29 18:30:22 +08:00
## 🥤效果
2023-05-20 23:56:16 +08:00
2023-11-12 21:51:33 +08:00
< details >
2023-11-18 14:55:46 +08:00
< img alt = "聊天界面" src = "doc/images/chat_.png" / >
2023-11-03 23:43:25 +08:00
< img alt = "image-20230520235113261" src = "doc/images/image-20230520235113261.png" / >
2023-05-20 23:56:16 +08:00
2023-05-21 00:00:39 +08:00







2023-11-12 21:51:33 +08:00
< / details >
2023-11-29 18:30:22 +08:00
# ⌛使用
2023-11-12 21:51:33 +08:00
2023-11-29 18:30:22 +08:00
小白可以先点个star⭐(💘项目不断更新中),然后去旁边[Release](https://github.com/LC044/WeChatMsg/releases/tag/v0.2.4)
下载打包好的exe可执行文件, 双击即可运行
2023-11-28 22:10:08 +08:00
2023-11-29 18:30:22 +08:00
**⚠️ 注意: 若出现闪退情况请右击选择用管理员身份运行exe程序, 该程序不存在任何病毒, 若杀毒软件提示有风险选择略过即可**
2023-11-28 22:10:08 +08:00
2023-11-12 21:51:33 +08:00
## 解密PC版微信数据库
< details >
### 1. 安装
```shell
git clone https://github.com/LC044/WeChatMsg
cd WeChatMsg
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
```
### 2. 使用
1. 登录微信
2. 运行程序
```shell
python decrypt_window.py
```
3. 点击获取信息

4. 设置微信安装路径
可以到微信->设置->文件管理查看

2023-11-12 21:58:11 +08:00
2023-11-20 22:30:31 +08:00
点击**设置微信路径**按钮, 选择该文件夹路径下的带有wxid_xxx的路径

2023-11-12 21:51:33 +08:00
5. 获取到密钥和微信路径之后点击开始解密
6. 解密后的数据库文件保存在./app/DataBase/Msg路径下
2023-11-12 22:04:21 +08:00
### 3. 查看
随便下载一个SQLite数据库查看软件就能打开数据库, 例如[DB Browser for SQLite](https://sqlitebrowser.org/dl/)
2023-11-16 23:56:36 +08:00
* [数据库功能介绍 ](./doc/数据库介绍.md )
* [更多功能介绍 ](./doc/电脑端使用教程.md )
2023-11-12 22:04:21 +08:00
2023-11-18 14:55:46 +08:00
显示效果
< img alt = "聊天界面" src = "doc/images/chat_.png" / >
2023-11-12 21:51:33 +08:00
< / details >
2023-11-28 22:10:08 +08:00
## 使用模拟器(支持可视化分析)
2023-11-12 21:51:33 +08:00
< details >
2023-05-20 23:56:16 +08:00
2023-11-28 22:10:08 +08:00
**不推荐使用, PC端微信可视化功能马上实现**
2023-05-21 00:19:25 +08:00
1. 根据[教程](https://blog.csdn.net/m0_59452630/article/details/124222235?spm=1001.2014.3001.5501)获得两个文件
- auth_info_key_prefs.xml——解析数据库密码
- EnMicroMsg.db——聊天数据库
2023-10-30 23:55:26 +08:00
- **上面这两个文件就可以**
2023-05-21 00:19:25 +08:00
2. 安装依赖库
2023-11-12 13:15:47 +08:00
python版本>=3.10
2023-08-19 14:44:49 +08:00
**说明:用到了python3.10的match语法, 不方便更换python版本的小伙伴可以把match(运行报错的地方)更改为if else**
2023-11-12 13:15:47 +08:00
命令行运行以下代码(**建议使用Pycharm打开项目, Pycharm会自动配置好所有东西, 直接运行main.py即可**)
2023-05-21 00:19:25 +08:00
```bash
2023-11-03 23:43:25 +08:00
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
2023-05-21 00:19:25 +08:00
```
运行main.py
```bash
python main.py
```
3. 出现解密界面

按照提示选择上面获得的两个文件,等待解密完成,重新运行程序
4. 进入主界面
这时候不显示头像,因为头像文件没有导入进来

根据[教程](https://blog.csdn.net/m0_59452630/article/details/124222235?spm=1001.2014.3001.5501)
将头像文件夹avatar复制到工程目录./app/data/目录下

如果想要显示聊天图像就把[教程](https://blog.csdn.net/m0_59452630/article/details/124222235?spm=1001.2014.3001.5501)
里的image2文件夹复制到./app/data文件夹里, 效果跟上图一样
复制进来之后再运行程序就有图像了

2023-11-12 21:51:33 +08:00
< / details >
2023-11-03 23:43:25 +08:00
## 项目还有很多bug, 希望大家能够及时反馈
2023-05-21 00:34:42 +08:00
项目地址: https://github.com/LC044/WeChatMsg
2023-11-03 23:43:25 +08:00
2023-11-29 18:30:22 +08:00
# 🏆致谢
2023-11-12 21:51:33 +08:00
* PC微信解密工具:[https://github.com/xaoyaoo/PyWxDump](https://github.com/xaoyaoo/PyWxDump)
2023-11-03 23:43:25 +08:00
---
2023-11-12 13:15:47 +08:00
> 说明:该项目仅可用于交流学习,禁止任何非法用途,创作者不承担任何责任🙄
2023-11-10 23:31:41 +08:00
2023-11-13 09:55:17 +08:00
[](https://star-history.com/?utm_source=bestxtools.com#LC044/WeChatMsg& Date)
2023-11-28 22:10:08 +08:00
2023-11-29 18:30:22 +08:00
# 🎄温馨提示
2023-11-28 22:10:08 +08:00
如果您在使用该软件的过程中
* 发现新的bug
* 有新的功能诉求
* 操作比较繁琐
* 觉得UI不够美观
* 等其他给您造成困扰的地方
请提起[issue](https://github.com/LC044/WeChatMsg/issues)或者添加QQ群:[**474379264**](doc/images/qq.jpg),我将尽快为您解决问题
如果您是一名开发者,有新的想法或建议,欢迎[fork](https://github.com/LC044/WeChatMsg/forks)
该项目并发起[PR](https://github.com/LC044/WeChatMsg/pulls),我将把您的名字写入贡献者名单中