https://github.com/lich0821/wechatdb
解密微信数据库,聊天记录备份。Crack WeChat DB.
https://github.com/lich0821/wechatdb
hook sqlite wechat
Last synced: 25 days ago
JSON representation
解密微信数据库,聊天记录备份。Crack WeChat DB.
- Host: GitHub
- URL: https://github.com/lich0821/wechatdb
- Owner: lich0821
- License: mit
- Created: 2022-09-20T13:52:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T09:20:35.000Z (over 1 year ago)
- Last Synced: 2025-03-26T11:21:46.170Z (about 1 month ago)
- Topics: hook, sqlite, wechat
- Language: Python
- Homepage:
- Size: 43.9 KB
- Stars: 334
- Watchers: 10
- Forks: 114
- Open Issues: 4
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Hack WeChat DB
[偷偷查看微信聊天记录](https://mp.weixin.qq.com/s/nckZTQ0leQLz27vUv4KfGg) 对应的代码。**⚠️ 仅作技术研究,请勿违法犯罪;也不要将自己的密码和数据库提供给他人,以免隐私受损。**
## 使用方法
### 安装依赖
```sh
pip install -r requirements.txt
```### 获取密钥
两种方法,一种需要输入微信号;一种需要指定微信版本。#### 1 通过微信号
感谢 @sanpee 的 [PR](https://github.com/lich0821/WeChatDB/pull/6),可以无视版本。```sh
python GetWeChatAesKey.py --id 当前登录的微信号
```#### 2 直接运行
如果当前微信版本在 `AESKEY_OFFSETS` 或者 `AESKEY_OFFSETS_64` 中(见 [GetWeChatAesKey.py](GetWeChatAesKey.py)),直接运行即可。
```sh
python GetWeChatAesKey.py
```### 解密数据库
```sh
python CrackWeChatDB.py -p 数据库的完整路径 -k 刚才获取到的密钥
```解密的数据库在原路径下,以 `.dec.db` 结尾。
欢迎交流:
