Skip to content

Commit

Permalink
更新数据库解析数据
Browse files Browse the repository at this point in the history
  • Loading branch information
weasUXL committed Feb 10, 2025
1 parent dc80d2c commit 4bfff11
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/about/thanks.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ prev: false
</div>
<div class="card-content">
<h3>GroupChatAnnualReport</h3>
<p>为 nt_msg 表中列名信息提供了参考,为IDA教程提供补充,<br>基于MIT协议转载</br></p>
<p>为 nt_msg 表中列名信息提供了参考,为IDA教程提供补充,<br>基于MIT协议转载</br></p>
</div>
</a>

Expand Down
6 changes: 6 additions & 0 deletions docs/about/碎碎念.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ editLink: false

可以说算是网站的更新日志?因为本人喜欢一次做很多改动再提交……在commit中不好写出完整的修改,另外再夹杂着本人的胡言乱语(bushi

::: timeline 2025-02-10
- 这几天累死我力(数据库好杂
- 不过确实有收获的……只是一个人真的好累啊
- 感觉对其他都提不起兴趣了……只能靠这个打发时间了
:::

::: timeline 2025-02-05
- 迟到的新年快乐捏~
- 对IDA教程再次进行了补充……希望小白也能看懂啊吧
Expand Down
2 changes: 1 addition & 1 deletion docs/plan/3.db文件分析/emoji.db.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ description:emoji.db分析……

| 列名 | 含义 | 说明 |
|--------|--------------------------------|----------------------------------------------------------------------|
| 80002 | 文件名 | 格式为`{uin}_0_0_0_{MD5}}_0_0` |
| 80002 | 文件名 | 格式为`{uin}_0_0_0_{MD5}_0_0` |
| 80001 | 表情排序 | 倒序,即最新的收藏表情序号为0 |
| 1002 | 收藏用户uin | |
| 80012 | 本地存贮路径 | |
Expand Down
66 changes: 59 additions & 7 deletions docs/plan/3.db文件分析/profile_info.db.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,62 @@ description: profile_info.db分析……
---

# profile_info.db
| profile_info | | |
| ------------ | ------------------- | ------------------------------------------------------------ |
| 完成解析 | 表名 | 分析 |
| 🤔 | buddy_list | 疑似好友uin、昵称、QQ号(但是发现昵称出现不准确现象) |
| 🤔 | profile_info_adelie | 机器人信息 |
| 🤔 | profile_info_v6 | 查看过的QQ用户信息存贮(包括QQ,uin,用户名,个性签名等信息) |
| 🤔 | 剩下的所有表名 | 无法理解的字段含义,不再解析 |
| profile_info | | |
| ------------ | ------------------- | ------------------------------------------------------ |
| 完成解析 | 表名 | 分析 |
|| buddy_list | 好友相关信息 |
|| buddy_req_list_5 | 好友通知 |
|| category_list_v2 | 好友分组信息 |
|| profile_info_adelie | 机器人信息 |
| 🤔 | profile_info_v6 | QQ用户信息存贮(包括QID,uin,用户名,个性签名等信息) |

`buddy_list`好友相关信息

| 列名 | 含义 | 说明 |
| ----- | -------- | ------------------------------------ |
| 1000 | nt_uid | |
| 1001 | QID | |
| 1002 | uin | |
| 25007 | 分组标识 | 当在默认分组(哪怕已改名)中值为null |

`buddy_req_list_5`好友通知

| 列名 | 含义 | 说明 |
| ----- | ------------ | -------------------------------------------- |
| 21204 | 时间戳 | UTC+8:00 |
| 21001 | 对方nt_uid | |
| 20002 | 用户昵称 | |
| 21502 | 申请是否通过 | 0为通过,1为验证中 |
| 21508 | 验证消息 | |
| 21509 | 申请来源 | |
| 21505 | 验证状态 | 1为等待通过,2为同意验证,13为验证过期(?) |
| 60001 | 来源群号 | |
| 21501 | 申请方标识 | 1为他人发送的申请,0为自己发送的申请 |

`category_list_v2`好友分组信息

其中25011为`protobuf`格式,代表着分组

| **Field Number** | 含义 | 说明 |
| ---------------- | -------- | ----------------------------------------------- |
| 25007 | 分组序号 | 0为默认分组 |
| 25008 | 分组名称 | |
| 25010 | 分组人数 | As uint(该分组总人数)/As sint(当前在线人数) |

`profile_info_adelie`:机器人信息

`profile_info_v6`QQ用户信息

| 列名 | 含义 | 说明 |
| ----- | ---------------- | ---------------------------- |
| 1001 | QID | 设置了才有否则为null |
| 1002 | uin | |
| 20002 | 用户昵称 | |
| 20009 | 用户备注 | |
| 20011 | 个性签名 | |
| 1000 | nt_uid | |
| 20004 | 头像链接 | s后面需要带参数,如s=640/100 |
| 21000 | ”尊贵身份标识符“ | protobuf |
| 20072 | 是否为好友 | hex值为`c2e60900`表示为好友 |
| 24105 | 个性签名校验值 | |

0 comments on commit 4bfff11

Please sign in to comment.