Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

WeChatDB-Rust

> 编程语言
Open source

用Rust语言编写,使用特征值从微信内存中提取数据库密钥的工具

100 stars0 likes1 views
WebsiteGitHub

About

用Rust语言编写,使用特征值从微信内存中提取数据库密钥的工具

WeChatDB-Rust

用Rust语言编写,使用特征值从微信内存中提取数据库密钥的工具

使用方法

编译

安装Rust语言编译器,然后执行以下命令:

bash
cargo build --release

编译出的文件在target/release目录下

运行

bash
WeChatDB.exe 即可

原理说明

特征值

微信的内存中存在用户的公私钥对,我们通过搜索-----BEGIN PUBLIC KEY-----关键字找到其在内存中的位置, 并二次搜索其所在的内存地址,这样我们就可以找到用户信息的上下文。原理参考[1]

搜索算法

搜索算法采用Sunday算法,思路来自[2],可以在O(n)的时间复杂度内完成搜索,原理参考[3]

参考

  1. https://github.com/x1hy9/WeChatUserDB
  2. https://www.jianshu.com/p/2e6eb7386cd3
  3. https://github.com/baiyies/CppWeixinHunter

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言