{"id":17054552,"url":"https://github.com/lich0821/wechatdb","last_synced_at":"2025-04-12T17:07:15.489Z","repository":{"id":181241480,"uuid":"539014858","full_name":"lich0821/WeChatDB","owner":"lich0821","description":"解密微信数据库，聊天记录备份。Crack WeChat DB. ","archived":false,"fork":false,"pushed_at":"2023-11-11T09:20:35.000Z","size":45,"stargazers_count":334,"open_issues_count":4,"forks_count":114,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-26T11:21:46.170Z","etag":null,"topics":["hook","sqlite","wechat"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lich0821.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-09-20T13:52:36.000Z","updated_at":"2025-03-26T01:02:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ecb7c9e-7bd3-4a49-8884-2fe2035a9e5e","html_url":"https://github.com/lich0821/WeChatDB","commit_stats":null,"previous_names":["lich0821/wechatdb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lich0821%2FWeChatDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lich0821%2FWeChatDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lich0821%2FWeChatDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lich0821%2FWeChatDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lich0821","download_url":"https://codeload.github.com/lich0821/WeChatDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602312,"owners_count":21131616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hook","sqlite","wechat"],"created_at":"2024-10-14T10:15:05.573Z","updated_at":"2025-04-12T17:07:15.458Z","avatar_url":"https://github.com/lich0821.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hack WeChat DB\n[偷偷查看微信聊天记录](https://mp.weixin.qq.com/s/nckZTQ0leQLz27vUv4KfGg) 对应的代码。\n\n**⚠️ 仅作技术研究，请勿违法犯罪；也不要将自己的密码和数据库提供给他人，以免隐私受损。**\n\n## 使用方法\n### 安装依赖\n```sh\npip install -r requirements.txt\n```\n\n### 获取密钥\n两种方法，一种需要输入微信号；一种需要指定微信版本。\n\n#### 1 通过微信号\n感谢 @sanpee 的 [PR](https://github.com/lich0821/WeChatDB/pull/6)，可以无视版本。\n\n```sh\npython GetWeChatAesKey.py --id 当前登录的微信号\n```\n\n#### 2 直接运行\n如果当前微信版本在 `AESKEY_OFFSETS` 或者 `AESKEY_OFFSETS_64` 中（见 [GetWeChatAesKey.py](GetWeChatAesKey.py)），直接运行即可。\n```sh\npython GetWeChatAesKey.py\n```\n\n### 解密数据库\n```sh\npython CrackWeChatDB.py -p 数据库的完整路径 -k 刚才获取到的密钥\n```\n\n解密的数据库在原路径下，以 `.dec.db` 结尾。\n\n欢迎交流：\n\n\u003ccenter\u003e\n\n![碲矿](碲矿.jpeg)\n\u003c/center\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flich0821%2Fwechatdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flich0821%2Fwechatdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flich0821%2Fwechatdb/lists"}