解锁并提取Linux客户端微信数据库 (vibe coded)
1# wxdump-linux
2
3Linux 版微信(WeChat 4.x AppImage)数据库解密与查看工具。
4
5## 核心功能
6
71. **提取密钥** — 从运行中的微信进程内存中扫描 SQLCipher 4 raw key
82. **解密数据库** — 使用提取的密钥解密 SQLCipher 4 数据库(AES-256-CBC + HMAC-SHA512)
93. **合并数据库** — 将多个解密后的数据库合并为单一文件
104. **Web 查看** — 通过浏览器查看聊天记录、导出为 HTML/CSV
11
12## 安装
13
14### Nix Flake(推荐)
15
16```bash
17# 进入开发环境
18nix develop
19
20# 或直接运行
21nix run .
22```
23
24### 从源码
25
26```bash
27git clone https://github.com/user/wxdump-linux.git
28cd wxdump-linux
29nix develop
30```
31
32## 快速使用
33
34```bash
35# 查看帮助
36wxdump -h
37
38# 获取微信信息(自动从进程内存提取密钥)
39wxdump info
40
41# 从进程内存提取所有数据库密钥
42wxdump linux_key
43
44# 解密数据库(自动提取密钥)
45wxdump decrypt -o ./decrypted
46
47# 合并已解密的数据库
48wxdump merge -i ./decrypted -o ./merged/merge.db
49
50# 启动 Web 查看界面
51wxdump ui
52
53# 启动 API 服务(不打开浏览器)
54wxdump api
55```
56
57## 详细文档
58
59- [用户指南](doc/UserGuide.md)
60
61
62## 致谢
63
64本项目基于 [PyWxDump](https://github.com/xaoyaoo/PyWxDump)([xaoyaoo](https://github.com/xaoyaoo))重构,原项目基于 [SharpWxDump](https://github.com/AdminTest0/SharpWxDump)。
65
66感谢所有原项目贡献者:
67
68[](https://github.com/xaoyaoo/PyWxDump/graphs/contributors)