-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support 1. auto-combine slwotable, 2. auto-use friend name
Signed-off-by: Yiyiyimu <[email protected]>
- Loading branch information
Showing
4 changed files
with
108 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,53 @@ | ||
# QQ聊天记录导出 | ||
|
||
可执行文件[Github下载链接](https://github.com/Yiyiyimu/QQ_History_Backup/releases/download/v1.41/QQ_History_Backup-v1.41.zip),[百度网盘下载链接](https://pan.baidu.com/s/1FRcqKiYho-DoDU-RC_uRkw)(sqhc) ,可直接运行。 | ||
可执行文件[Github下载链接](https://github.com/Yiyiyimu/QQ_History_Backup/releases/download/v2.0/QQ_History_Backup-v2.0.zip),[百度网盘下载链接](https://pan.baidu.com/s/1nbJcP5RVc1ID1IFGsN1-yQw)(i4cv) ,可直接运行。 | ||
|
||
## 简介 | ||
|
||
本项目 fork 自大佬的项目[roadwide/qqmessageoutput](https://github.com/roadwide/qqmessageoutput) 在此非常感谢。因为改动较多,不再作为 fork 分支开发 | ||
|
||
在之前版本的基础上完成了原作者提到的无需密钥解密的方法,添加了QQ表情的一并导出,并制作了GUI方便使用 | ||
在之前版本的基础上完成了自动提取密钥解密的方法,自动填入备注/昵称,添加了QQ表情的一并导出,并制作了GUI方便使用 | ||
|
||
## 获取db文件方法 | ||
## 获取聊天记录文件夹方法 | ||
|
||
如果root了,直接在以下地址就可以找到 | ||
|
||
``` | ||
data\data\com.tencent.mobileqq\databases\你的QQ.db 和 slowtable_你的QQ.db | ||
data\data\com.tencent.mobileqq | ||
``` | ||
|
||
|
||
如果没有root,可以通过手机自带的备份工具备份整个QQ软件,具体方法可以参见 | ||
|
||
> 怎样导出手机中的QQ聊天记录? - 益新软件的回答 - 知乎 | ||
> https://www.zhihu.com/question/28574047/answer/964813560 | ||
导出之前建议发给对方一句话(至少六个汉字),后面解密用 | ||
|
||
## GUI使用方法 | ||
|
||
![GUI_image](./img/GUI.png) | ||
|
||
db文件地址(必填):选择对应的 qq号.db ,如果不全再选择slowtable_qq号.db | ||
|
||
对方QQ号(必填) | ||
|
||
手机识别码(待自动填入,供slowtable使用): | ||
Android Q及以上(19年以后的系统)限制了id获取权限,无法使用手机识别码(IMEI/MEID)作为聊天记录数据库的密钥,只能通过最后一次聊天记录计算key。在导出slowtable里的内容时默认使用前一步输出的手机识别码作为密钥。 | ||
|
||
最后一次聊天记录(非slowtable**必填**): | ||
因为测试所用两部手机密钥分别为9位和14位,一个汉字对应三个utf-8码,为了避免更长的密钥推荐使用至少六个汉字符号。可以在导出之前给对方发一句话过去。 | ||
|
||
我的名字(选填):默认为“我”,填入进行替换 | ||
|
||
对方名字(选填):默认为对方QQ号,填入进行替换 | ||
|
||
私聊/群聊 | ||
com.tencent.mobileqq:选择备份后的相应文件夹,一般为`apps/com.tencent.mobileqq` | ||
|
||
## 输出截图 | ||
|
||
为了方便离线查看,qq表情gif选择保存在本地,注意移动聊天记录的时候需要同时移动gif文件 | ||
|
||
![screenshot](./img/screenshot.png) | ||
|
||
有bug的话记得附上log.txt里的内容 | ||
有bug的话提issue,记得附上log.txt里的内容 | ||
|
||
## v2.0 更新 | ||
- 直接从 `files/kc` 提取明文的密钥,不用再手动输入或解密 | ||
- 支持群聊记录导出 | ||
- 支持 私聊/群聊 的 备注/昵称 自动填入 | ||
- 支持 slowtable 的直接整合 | ||
|
||
## TODO | ||
- [x] support troop message output | ||
- [x] use com.tencent.mobileqq/f/kc as key | ||
- [ ] decode friend/troop name, to use in result | ||
- [ ] auto-combine db and slow-table | ||
- [x] decode friend/troop name, to use in result | ||
- [x] auto-combine db and slow-table | ||
- [ ] update to new qq emoji | ||
- [ ] add desensitization data to create e2e test | ||
- [ ] add Makefile, to run build/test | ||
- [ ] use pic in mobile folder, to better present result |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.