diff --git a/README.md b/README.md index c79ab34..769dc57 100644 --- a/README.md +++ b/README.md @@ -15,23 +15,23 @@ pnpm run docs:dev 如有不明白的操作,请参阅[主题官方教程](https://vitepress.dev/zh/guide/getting-started)。 本项目使用了部分插件,具体可在config.mts中查看 -本文档的主要文件储存在docx目录下。新增文件无需编辑目录,目录会自动生成。 +本文档的主要文件储存在docs目录下。新增文件无需编辑侧边栏,插件会自动生成。 ```shell ├─ docs -│ ├─ .vitepress(VitePress 配置文件、开发服务器缓存、构建输出和可选主题自定义代码的位置) -│ │ ├─theme -│ │ └─ config.mts -│ ├─Contributors(贡献者) -│ ├─decrypt(解密相关文档) -│ ├─thanks(致谢) -│ ├─plan(数据库解析计划) -│ ├─public(媒体文件存放) -│ │ ├─img(媒体文件存放) -│ │ ├─icon -│ ├─ index.md -│ └─ introduce.md(了解项目) -└─ package.json +├─ .vitepress((VitePress 配置文件、可选主题自定义代码的位置) +│ ├─ theme +│ ├─ config.mts +├─ about() +│ ├─ Contributors.md (贡献者) +│ ├─ thanks.md (致谢) +├─ decrypt (解密相关文档) +├─ plan (数据库解析计划) +├─ public (媒体文件存放) +├─ view (查看) +├─ files.md (文件) +├─ index.md +└─ introduce.md (了解项目) ``` **特别注意:贡献代码的仓库与实际部署网站所使用的仓库并不是一个,而是由组织中的仓库贡献代码,个人仓库通过fork获取更新的,这是由于成员没有权限将组织中的仓库作为vercel的库来源,所以本人想出来的馊主意(** \ No newline at end of file diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 4bb47d0..b308852 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,6 +1,7 @@ import { defineConfig } from 'vitepress' import AutoSidebar from 'vite-plugin-vitepress-auto-sidebar' import markdownItTaskLists from 'markdown-it-task-lists' +import timeline from 'vitepress-markdown-timeline' // https://vitepress.dev/reference/site-config export default defineConfig({ @@ -30,27 +31,29 @@ export default defineConfig({ sitemap: { hostname: 'https://qq.sbcnm.top' }, - markdown: { - lineNumbers: true, - config: (md) => { - md.use(markdownItTaskLists); - }, - image: { - lazyLoading: true - }, +markdown: { + lineNumbers: true, + config: (md) => { + md.use(markdownItTaskLists); + md.use(timeline); + }, + image: { + lazyLoading: true, }, +}, + themeConfig: { lastUpdated: { text: '最后更新于' }, nav: [ // 页面右上角的导航 { text: '主页', link: '/' }, - { text: '致谢', link: '/thanks/' }, + { text: '致谢', link: '/about/thanks' }, { text: '文件', link: '/files' } ], footer: { - message: ' CC BY-NC-SA 4.0 License.', - copyright: 'Copyright © 2024' + message: ' CC BY-NC-SA 4.0 License', + copyright: ' Copyright © 2025 ' }, editLink: { pattern: 'https://github.com/QQBackup/QQDecrypt/edit/main/docs/:path', diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 50ceac5..a4cbb82 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -4,6 +4,7 @@ import DefaultTheme from 'vitepress/theme' import HashCalculator from './components/HashCalculator.vue' import { Theme } from 'vitepress' import './style/index.css' +import "vitepress-markdown-timeline/dist/theme/index.css"; export default { ...DefaultTheme, diff --git a/docs/Contributors/index.md b/docs/about/Contributors.md similarity index 94% rename from docs/Contributors/index.md rename to docs/about/Contributors.md index e1cd5dd..d36de2b 100644 --- a/docs/Contributors/index.md +++ b/docs/about/Contributors.md @@ -1,5 +1,7 @@ --- layout: page +title: 贡献者 +description: 为网站内容做出贡献的成员 sidebar: false --- diff --git a/docs/thanks/index.md b/docs/about/thanks.md similarity index 86% rename from docs/thanks/index.md rename to docs/about/thanks.md index 922d9d3..b96f16d 100644 --- a/docs/thanks/index.md +++ b/docs/about/thanks.md @@ -5,7 +5,7 @@ next: false prev: false --- -**文档内容参考/引用了以下网站的内容,在此表达最诚挚的谢意(排名不分先后):** +**网站的编写离不开以下网站或应用的支持,在此表达最诚挚的谢意(排名不分先后):** - 在原 qq-win-db-key 项目中引用的相关资料,此处不再全部列出 - 若有希望补充/想从致谢名单中移除的,可在 GitHub 开 issues 或通过 [issues@sbcnm.top](mailto:issues@sbcnm.top) 联系我修改 @@ -69,6 +69,17 @@ prev: false

网站使用的静态网站自动化部署平台

+ + +
+ +
+
+

yiov的vitepress教程

+

为网站美化提供了参考

+
+
+ diff --git "a/docs/about/\347\242\216\347\242\216\345\277\265.md" "b/docs/about/\347\242\216\347\242\216\345\277\265.md" new file mode 100644 index 0000000..e243e0f --- /dev/null +++ "b/docs/about/\347\242\216\347\242\216\345\277\265.md" @@ -0,0 +1,46 @@ +--- +title: 碎碎念 +description: 我的想法 +sidebar: false +next: false +prev: false +editLink: false +--- + +# 计划中ing…… + +* [ ] 完成对教程的动图或完整视频制作 +* [ ] 美化主题 +* [ ] 尽可能将教程小白化 + +# 碎碎念…… +::: timeline start +可以说算是网站的更新日志?因为本人喜欢一次做很多改动再提交……在commit中不好写出完整的修改,另外再夹杂着本人的胡言乱语(bushi +::: + +::: timeline 2024-10-13 +- [x] 分析出/data/user/0/com.tencent.mobileqq/databases/nt\_db/nt\_qq\_{QQ\_path\_hash}/路径中的一堆db文件都是干嘛的 +- 是应该采取做成数据库再写一个程序去读取展示出来(就像原版QQ那样的展示数据?),然而工作量还是很大,或者是导出为HTML之类的更为方便? +- 尝试导出了c2c_msg_table表中的发送QQ号、时间、40800(目前只有文字正常解析了),并将它们分类显示出来 +::: + +::: timeline 2024-12-31 +好久没更新……咕咕 + +赶在新年要到来的前一天做了许多修改,元旦快乐❤ + +今年又是啥也没做好的一年( +::: + +::: timeline 2025-01-01 +别人的跨年 vs QQ被限制的我跨年😅 + +趁着有时间多改改吧……我的时间不多了😣 +::: + +::: timeline 2025-01-04 +- 其实我觉得默认暗色还挺好看的……但是突然不知道怎么改了( +- 重构了一下结构,避免徒增只有一个文件的文件夹( +::: + + \ No newline at end of file diff --git "a/docs/decrypt/\345\256\211\345\215\223\347\211\210QQ\345\217\212TIM.md" "b/docs/decrypt/\345\256\211\345\215\223\347\211\210QQ\345\217\212TIM.md" index b109620..4d61f8c 100644 --- "a/docs/decrypt/\345\256\211\345\215\223\347\211\210QQ\345\217\212TIM.md" +++ "b/docs/decrypt/\345\256\211\345\215\223\347\211\210QQ\345\217\212TIM.md" @@ -9,7 +9,7 @@ description: 安卓版QQ及TIM解密教程 >[!TIP] 新版TIM说明 >腾讯于2024年11月4日发布了TIM4.0.95版本,从该版本起腾讯TIM也将使用NT架构,经实际测试发现其数据库解密方式与[NTQQ(Android)](NTQQ%20(Android).md#方法1-推荐)方法一相同 ->[!INFO] +>[!INFO] 注意 > 注:以下提到的“电脑”泛指一切可以运行此程序的环境,如安卓手机上的 Termux 也属于此列 > 注:以下内容假设您使用的是 QQ 而非 TIM,如果您在使用 TIM,请将`com.tencent.mobileqq`改为`com.tencent.tim`,将`MobileQQ`改为`Tim` diff --git a/docs/files.md b/docs/files.md index cbec8b7..dfad8c3 100644 --- a/docs/files.md +++ b/docs/files.md @@ -9,149 +9,104 @@ prev: false
-
+
JavaScript
-
-
- 2024/08/18 12:40 -
-
- -
+
android_dump.js
+
2024/08/18 12:40
+ + +
JavaScript
-
-
- 2024/08/18 12:40 -
-
- -
+
android_get_backup_key.js
+
2024/08/18 12:40
+ + +
Python
-
-
- 2024/08/18 12:40 -
-
- -
+
android_get_backup_key.py
+
2024/08/18 12:40
+ + +
Python
-
-
- 2024/08/18 12:40 -
-
- -
+
android_get_key.py
+
2024/08/18 12:40
+ + +
Python
-
-
- 2024/08/18 12:40 -
-
- -
+
android_hook_md5.py
+
2024/08/18 12:40
+ + +
JavaScript
-
-
- 2024/08/18 12:40 -
-
- -
+
ios_get_key.js
+
2024/08/18 12:40
+ + +
Python
-
-
- 2024/08/18 12:40 -
-
- -
+
pcqq_DANGER_rekey.py
+
2024/08/18 12:40
+ + +
Python
-
-
- 2024/08/18 12:40 -
-
- -
+
pcqq_dump.py
+
2024/08/18 12:40
+ + +
Python
-
-
- 2024/08/18 12:40 -
-
- -
+
pcqq_get_key.py
+
2024/08/18 12:40
+ + +
C++
-
-
- 2024/08/18 12:40 -
-
- -
+
pcqq_rekey_to_none.cpp
+
2024/08/18 12:40
+ + +
Python
-
-
- 2024/11/9 19:48 -
-
+
linux_qq_get_key.py
+
2024/11/9 19:48
+
- diff --git a/docs/index.md b/docs/index.md index 73b45ce..ee87a8e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -15,7 +15,7 @@ hero: link: /introduce - theme: alt text: 致谢 - link: /thanks + link: /about/thanks features: - icon: 🗝 @@ -29,6 +29,6 @@ features: - icon: 🧑 title: 贡献者 details: 感谢为此项目做出贡献的所有开发者ヾ(≧▽≦*)o) - link: /Contributors/ + link: /about/Contributors --- diff --git "a/docs/plan/2.\346\266\210\346\201\257\345\257\274\345\207\272\350\256\241\345\210\222.md" "b/docs/plan/2.\346\266\210\346\201\257\345\257\274\345\207\272\350\256\241\345\210\222.md" index ae390a1..f868cc1 100644 --- "a/docs/plan/2.\346\266\210\346\201\257\345\257\274\345\207\272\350\256\241\345\210\222.md" +++ "b/docs/plan/2.\346\266\210\346\201\257\345\257\274\345\207\272\350\256\241\345\210\222.md" @@ -7,47 +7,45 @@ description: 按什么类型/怎样导出? 导出数据库 -一、私聊数据 c2c\_msg\_table - -* [x] 发送者QQ -* [x] 发送者头像 -* [x] 发送时间 -* [x] 文字消息 -* [ ] 图片消息 -* [ ] 回复消息 -* [ ] 卡片消息 -* [ ] 分享类消息 -* [ ] 撤回消息 -* [ ] 红包一类 -* [ ] 闪照 -* [ ] 语音/视频通话 -* [ ] 文件类消息 - -尚未开始分析 - -二、群聊数据 group\_msg\_table - -* [ ] 群名称 -* [ ] 群头像 -* [ ] 发送者QQ -* [ ] 发送者头像 -* [ ] 发送时间 -* [ ] 图片消息 -* [ ] 回复消息 -* [ ] 卡片消息 -* [ ] 分享类消息 -* [ ] 撤回消息 -* [ ] 红包一类 -* [ ] 语音/视频通话 -* [ ] 文件类消息 +一、私聊数据 c2c_msg_table + +* [x] 发送者QQ +* [x] 发送者头像 +* [x] 发送时间 +* [x] 文字消息 +* [ ] 图片消息 +* [ ] 回复消息 +* [ ] 卡片消息 +* [ ] 分享类消息 +* [ ] 撤回消息 +* [ ] 红包一类 +* [ ] 闪照 +* [ ] 语音/视频通话 +* [ ] 文件类消息 + + + +二、群聊数据 group_msg_table +* [ ] 群名称 +* [ ] 群头像 +* [ ] 发送者QQ +* [ ] 发送者头像 +* [ ] 发送时间 +* [ ] 图片消息 +* [ ] 回复消息 +* [ ] 卡片消息 +* [ ] 分享类消息 +* [ ] 撤回消息 +* [ ] 红包一类 +* [ ] 语音/视频通话 +* [ ] 文件类消息 需要挖掘的api: -* [ ] 1群头像api -* [ ] 2群名称api -* [x] 用户头像api -* [ ] 用户名称api +* [ ] 1群头像api +* [ ] 2群名称api +* [x] 用户头像api +* [ ] 用户名称api -*** 以上信息或许会从本地进行获取 diff --git "a/docs/plan/5.\347\242\216\347\242\216\345\277\265.md" "b/docs/plan/5.\347\242\216\347\242\216\345\277\265.md" deleted file mode 100644 index 884a906..0000000 --- "a/docs/plan/5.\347\242\216\347\242\216\345\277\265.md" +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: 碎碎念 -description: 分析时的想法 ---- - -# 碎碎念…… - -1数据库解密已经可以做到,然而如何将消息按需导出来?还需要支持一些特殊的消息(比如图片、卡片,回复消息等),目前表中的所有列数据的含义尚未分析完整,部分定义可在[网站](https://qq.sbcnm.top/watch/%E5%AD%97%E6%AE%B5%E5%90%AB%E4%B9%89.html)查看 - -查看,因此导出的消息信息量还很少 - -* [x] 分析出/data/user/0/com.tencent.mobileqq/databases/nt\_db/nt\_qq\_{QQ\_path\_hash}/路径中的一堆db文件都是干嘛的 - -3是应该采取做成数据库再写一个程序去读取展示出来(就像原版QQ那样的展示数据?),然而工作量还是很大,或者是导出为HTML之类的更为方便? - -目前导出了c2c\_msg\_table表中的发送QQ号、时间、40800(目前只有文字正常解析了),并将它们分类显示出来 - -闲着没事做了一个程序的雏形设计……只是假想 - -累了,感觉对什么都提不起兴趣……不知道怎么办…… - -好久没更新……咕咕 - -2024-12-31 赶在新年要到来的前一天做了修改,元旦快乐❤虽然今年又是飞舞的一年…… diff --git a/docs/plan/index.md b/docs/plan/index.md index 8212f0e..79e7aa2 100644 --- a/docs/plan/index.md +++ b/docs/plan/index.md @@ -16,6 +16,6 @@ collapsed: true 本项目仅供学习交流使用,严禁用于任何违反中国大陆法律法规、您所在地区法律法规、[QQ软件许可及服务协议](https://rule.tencent.com/rule/preview/46a15f24-e42c-4cb6-a308-2347139b1201)的行为,开发者不承担任何相关行为导致的直接或间接责任。 -本项目不对生成内容的完整性、准确性作任何担保,生成的一切内容 +本项目不对分析内容的完整性、准确性作任何担保 本项目基本遵循[LICENSE](https://github.com/QQBackup/qq-win-db-key/blob/master/LICENSE)里的开源协议 \ No newline at end of file diff --git a/package.json b/package.json index 440b3e3..236b0bd 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "crypto-js": "^4.2.0", "markdown-it-task-lists": "^2.1.1", "node-fetch": "^3.3.2", - "vite-plugin-vitepress-auto-sidebar": "^1.7.1" + "vite-plugin-vitepress-auto-sidebar": "^1.7.1", + "vitepress-markdown-timeline": "^1.2.2" }, "devDependencies": { "vitepress": "^1.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8782aeb..697759a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: vite-plugin-vitepress-auto-sidebar: specifier: ^1.7.1 version: 1.7.1(@typescript-eslint/parser@8.19.0(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)(vite@5.4.11)(vitepress@1.5.0(@algolia/client-search@5.18.0)(axios@1.7.9)(postcss@8.4.49)(search-insights@2.17.3)(typescript@5.7.2)) + vitepress-markdown-timeline: + specifier: ^1.2.2 + version: 1.2.2 devDependencies: vitepress: specifier: ^1.5.0 @@ -802,6 +805,9 @@ packages: resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==} engines: {node: '>= 0.4'} + dayjs@1.11.13: + resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} + debug@3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} peerDependencies: @@ -1787,6 +1793,9 @@ packages: terser: optional: true + vitepress-markdown-timeline@1.2.2: + resolution: {integrity: sha512-eDFcvudmTW33pI7XdT+ZeUPvpc4CPXI0LZbsZZ54j36G56AN6qYEBiwZpDHl77E4QvqAIJMc8phXXvm7P/Lc+Q==} + vitepress@1.5.0: resolution: {integrity: sha512-q4Q/G2zjvynvizdB3/bupdYkCJe2umSAMv9Ju4d92E6/NXJ59z70xB0q5p/4lpRyAwflDsbwy1mLV9Q5+nlB+g==} hasBin: true @@ -2640,6 +2649,8 @@ snapshots: es-errors: 1.3.0 is-data-view: 1.0.2 + dayjs@1.11.13: {} + debug@3.2.7: dependencies: ms: 2.1.3 @@ -3812,6 +3823,10 @@ snapshots: optionalDependencies: fsevents: 2.3.3 + vitepress-markdown-timeline@1.2.2: + dependencies: + dayjs: 1.11.13 + vitepress@1.5.0(@algolia/client-search@5.18.0)(axios@1.7.9)(postcss@8.4.49)(search-insights@2.17.3)(typescript@5.7.2): dependencies: '@docsearch/css': 3.8.2