mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-15 14:31:18 +08:00
70 lines
1.1 KiB
Markdown
70 lines
1.1 KiB
Markdown
|
# 一、解密微信数据库
|
||
|
|
||
|
## 主要功能
|
||
|
|
||
|
1. 解密微信数据库
|
||
|
2. 查看聊天记录
|
||
|
3. 导出聊天记录
|
||
|
* CSV
|
||
|
* docx(待实现)
|
||
|
* HTML(待实现)
|
||
|
|
||
|
## 安装
|
||
|
|
||
|
```shell
|
||
|
git clone https://github.com/LC044/WeChatMsg
|
||
|
cd WeChatMsg
|
||
|
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||
|
```
|
||
|
|
||
|
## 解密
|
||
|
|
||
|
<details>
|
||
|
|
||
|
解密步骤:
|
||
|
|
||
|
1. 登录微信
|
||
|
|
||
|
2. 运行程序
|
||
|
|
||
|
```shell
|
||
|
python decrypt_window.py
|
||
|
```
|
||
|
|
||
|
3. 点击获取信息
|
||
|
|
||
|
![](./images/pc_decrypt_info.png)
|
||
|
|
||
|
4. 设置微信安装路径
|
||
|
可以到微信->设置->文件管理查看
|
||
|
![](./images/setting.png)
|
||
|
|
||
|
点击**设置微信路径**按钮,选择该文件夹路径
|
||
|
|
||
|
5. 获取到密钥和微信路径之后点击开始解密
|
||
|
|
||
|
6. 解密后的数据库文件保存在./app/DataBase/Msg路径下
|
||
|
|
||
|
</details>
|
||
|
|
||
|
## 查看聊天记录
|
||
|
|
||
|
<details>
|
||
|
|
||
|
1. 运行程序
|
||
|
|
||
|
```shell
|
||
|
python main_pc.py
|
||
|
```
|
||
|
|
||
|
2. 选择联系人
|
||
|
|
||
|
<img src='./images/pc_contact.png' alt="运行图片"/>
|
||
|
|
||
|
3. 导出聊天记录
|
||
|
|
||
|
聊天记录保存在 **/data/聊天记录/** 文件夹下
|
||
|
|
||
|
<img src='./images/messages_demo.png' />
|
||
|
|
||
|
</details>
|