WeChatMsg/doc/电脑端使用教程.md
2023-11-20 22:30:31 +08:00

72 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 一、解密微信数据库
## 主要功能
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)
点击**设置微信路径**按钮选择该文件夹路径下的带有wxid_xxx的路径
![](./images/path_select.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>