feat(macOS): fix V4 image decryption and HEVC transcoding#515
Open
qicai21 wants to merge 2 commits intohicccc77:mainfrom
Open
feat(macOS): fix V4 image decryption and HEVC transcoding#515qicai21 wants to merge 2 commits intohicccc77:mainfrom
qicai21 wants to merge 2 commits intohicccc77:mainfrom
Conversation
- Implemented correct macOS-specific MD5 key derivation (Code + Cleaned Wxid). - Improved kvcomm file discovery by including monitordata patterns. - Enhanced wxid normalization for accounts like wxid_xxx_yyyy. - Added robust ffmpeg path detection for macOS (Homebrew/System). - Fixed HEVC bitstream extraction and transcoding flags (-f hevc).
Collaborator
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Owner
|
你好! 关于你提到的解密错误,可否提供如下信息以辅助我验证 1.解密失败的图片的原始消息xml |
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.
修复了 macOS 4.17 版本微信 DAT 图片解密存在的几个关键问题:
密钥推演修正:修复了 macOS 特有的 MD5(Code + CleanedWxid) 逻辑,解决了解密报错问题。
字节序修复:将 bytesToInt32 修正为小端序 (Little Endian),解决了 4.17 版本高清图解密后花屏/损坏的问题。
4 字节严苛匹配:将签名校验提升至 4 字节,彻底解决了内存扫描时 1/65536 的误报概率(假阳性)。
WXGF 提取优化:改进了 HEVC NALU 提取逻辑,并增加了对 macOS 系统下 ffmpeg 路径的自动搜索支持。
非常感谢你的程序和思路!