{"id":18685304,"url":"https://github.com/adysec/wechat_sqlite","last_synced_at":"2025-05-16T04:04:53.355Z","repository":{"id":216404490,"uuid":"741251729","full_name":"adysec/wechat_sqlite","owner":"adysec","description":"微信sqlite解密 | 仅支持v3版本微信，从内存中快速搜索指定数据。获取基址+偏移量与特征，从而达到微信版本每次更新不需要重新查找地址。可获取自己电脑上已登录微信的微信号，wxid，手机号，sqlite解密密钥。解密微信sqlite数据库中存放的历史消息记录","archived":false,"fork":false,"pushed_at":"2025-02-13T02:14:57.000Z","size":1322,"stargazers_count":297,"open_issues_count":0,"forks_count":189,"subscribers_count":192,"default_branch":"main","last_synced_at":"2025-04-08T14:09:10.536Z","etag":null,"topics":["decode","encode","hook","python","security","sqlite","tools","wechat"],"latest_commit_sha":null,"homepage":"https://adysec.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adysec.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-10T02:20:45.000Z","updated_at":"2025-04-01T00:08:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"47284094-0690-4ef7-a59d-bdaef23c0a81","html_url":"https://github.com/adysec/wechat_sqlite","commit_stats":null,"previous_names":["adysec/wechat_sqlite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adysec%2Fwechat_sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adysec%2Fwechat_sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adysec%2Fwechat_sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adysec%2Fwechat_sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adysec","download_url":"https://codeload.github.com/adysec/wechat_sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464895,"owners_count":22075570,"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":["decode","encode","hook","python","security","sqlite","tools","wechat"],"created_at":"2024-11-07T10:21:50.394Z","updated_at":"2025-05-16T04:04:50.338Z","avatar_url":"https://github.com/adysec.png","language":"Python","readme":"## 微信sqlite解密\r\n\u003ca href=\"https://github.com/adysec/wechat_sqlite/stargazers\"\u003e\u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/adysec/wechat_sqlite?color=yellow\u0026logo=riseup\u0026logoColor=yellow\u0026style=flat-square\"\u003e\u003c/a\u003e\r\n\u003ca href=\"https://github.com/adysec/wechat_sqlite/network/members\"\u003e\u003cimg alt=\"GitHub forks\" src=\"https://img.shields.io/github/forks/adysec/wechat_sqlite?color=orange\u0026style=flat-square\"\u003e\u003c/a\u003e\r\n\u003ca href=\"https://github.com/adysec/wechat_sqlite/issues\"\u003e\u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/adysec/wechat_sqlite?color=red\u0026style=flat-square\"\u003e\u003c/a\u003e\r\n\r\n## 说明\r\n\r\n目前有更好的项目`https://github.com/0xlane/wechat-dump-rs`，原先该项目无获取key功能和源码，仅支持下载可执行文件，因此建立了本仓库，现在对方提供了`wechat-dump-rs.exe`源码，并支持4.0版本微信\r\n\r\n## 使用方法\r\n\r\n安装库\r\n\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\n登录状态的微信获取key\r\n\r\n```bash\r\npython 1-search_wecaht_key.py\r\n# OR\r\nwechat-dump-rs.exe\r\n```\r\n\r\n复制MSG0.db到当前目录，通过key解密\r\n\r\n```bash\r\npython 2-decode_db.py\r\n```\r\n\r\n效果如图\r\n\r\n![](1.jpg)\r\n\r\n![](2.jpg)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadysec%2Fwechat_sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadysec%2Fwechat_sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadysec%2Fwechat_sqlite/lists"}