# 一键解密 NTQQ 数据库!
## 食用说明
从 [release](https://github.com/artiga033/ntdb_unwrap/releases) 下载对应平台的可执行文件。
或者,
```sh
cargo install ntdb_unwrap-cli
```
### (Rooted?) Android
**提示:** 如果你使用了`-N` 参数(即程序不会尝试先复制数据库到临时文件,再去操作临时文件),则有可能损坏数据库文件,同时,建议启用此选项时先强行停止QQ进程。
以 root 权限(或者其它能使此程序有权访问`/data/user/0/com.tencent.mobileqq/`的办法)直接运行即可。
### 其他平台
目前不支持自动解密,请手动获取数据库密钥,然后通过命令行参数指定。
## 作为 Rust crate 使用

## 另见
用于直接读取 ntqq 数据库的 [SQLite VFS扩展](./sqlite_extension/)
## Credits
- [QQBackup/qq-win-db-key](https://github.com/QQBackup/qq-win-db-key)
- [mobyw/GroupChatAnnualReport](https://github.com/mobyw/GroupChatAnnualReport)
- [rusqlite](https://github.com/rusqlite/rusqlite) and [SQLite](https://sqlite.org)