支持微信 4.1.x 版本密钥提取 - #22
Open
maomao3334 wants to merge 3 commits into
Open
Conversation
- 更新 verify_enc_key 函数支持 HMAC-SHA1(新版微信 3.9+/4.1.x) - 保持向后兼容 HMAC-SHA512(旧版微信) - 基于 wcdb-key-tool 运行时扫描方法 - 修复新版微信密钥提取失败问题 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- 添加 Config.Cipher 运行时扫描逻辑 - 使用 XOR 解码从内存中提取加密密钥 - 优先使用 Config.Cipher 扫描,回退到传统方法 - 基于 wcdb-key-tool 的实现 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
牛逼 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
更新内容
测试结果
技术细节
微信 4.1+ 在运行时使用
Config.Cipher结构存储数据库密钥,并通过 XOR 混淆保护。此更新实现:com.Tencent.WCDB.Config.Cipher字符串此方法比传统十六进制模式匹配更准确、更快速。
🤖 Generated with Claude Code