docs(微信): §13.6 检索成果·全功能Hook实现路线图
WebSearch+GitHub:WeKit(完美支持8.0.65-72)/wechat_chatter/sns.model.ay发朋友圈/m3.onGYNetEnd读朋友圈(解CK-T9);标注8.0.69需jadx校准混淆名,逐个真机验证。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -401,6 +401,37 @@ SDK_DEVICE_ID=xgfe65eimrrofyws python3 sdk/tests/test_wechat_full_e2e.py --group
|
||||
|
||||
---
|
||||
|
||||
## 十三点六、检索成果·全功能 Hook 实现路线图(2026-05-30 WebSearch+GitHub)
|
||||
|
||||
> 用户要求「搜互联网+GitHub 完善需求」。以下为可落地的实现路径,按真机铁律逐个验证后再标 ✅。
|
||||
|
||||
### 13.6.1 GitHub 关键参考(覆盖 8.0.69)
|
||||
|
||||
| 项目 | 链接 | 价值 | 适配 |
|
||||
|:---|:---|:---|:---|
|
||||
| **WeKit** | [Ujhhgtg/WeKit](https://github.com/Ujhhgtg/WeKit) | Xposed 模块,**完美支持 8.0.65~8.0.72**;含自动抢红包/发SILK语音/卡片消息/指纹支付/原生Hook/JS脚本引擎 | ⭐ 与本机 8.0.69 完全匹配,类名/方法可直接参考 |
|
||||
| wechat_chatter | [yincongcyincong/wechat_chatter](https://github.com/yincongcyincong/wechat_chatter) | tencent/mars 底层 `Req2Buf` protobuf 注入发消息(比 UI 稳) | 概念通用,安卓需定位 mars 符号 |
|
||||
| Hook_WeChat_FaaS | [FourTwooo/Hook_WeChat_FaaS](https://github.com/FourTwooo/Hook_WeChat_FaaS) | 云函数/小程序请求响应 Hook | 小程序链路 |
|
||||
| 发朋友圈逆向 | [hktalent/MyDocs 朋友圈动态](https://github.com/hktalent/MyDocs) · [luoyesiqiu 博客](https://www.cnblogs.com/luoyesiqiu/p/12500328.html) | `sns.model.ay`+`data.j` 发图文朋友圈 | 类名随版本变 |
|
||||
|
||||
### 13.6.2 已确认的内部调用路径(需 8.0.69 jadx 校准混淆名)
|
||||
|
||||
| 能力 | 类/方法(参考版本) | 说明 |
|
||||
|:---|:---|:---|
|
||||
| **发朋友圈(文本)** | `com.tencent.mm.plugin.sns.model.ay` → `$new(2)` · `.adk(desc)` · `.commit()` | 7.0.11/8.0.61 验证;8.0.69 混淆名待 jadx |
|
||||
| **发朋友圈(图片)** | `sns.data.j.$new(path,2)` 入 LinkedList → `ay.ey(list)` → `.commit()` | 多图 |
|
||||
| **读朋友圈(解 CK-T9)** | `sns.model.m3.onGYNetEnd` param.args[4] → `SnsObject`→`SnsInfo`(XML) | 服务器分页下发,需主动触发下一页;比 SnsMicroMsg.db(WCDB2.x) 读更可靠 |
|
||||
| **抢红包/发红包** | WeKit「自动抢红包」模块 | 参考其 hook 点 |
|
||||
| **发语音** | WeKit「发送 SILK/MP3 语音」 | SILK 编码 |
|
||||
|
||||
### 13.6.3 实施前提(真机铁律)
|
||||
|
||||
1. **类名校准**:仓库内反编译为 **8.0.56**,设备为 **8.0.69** → 写操作前须对 **8.0.69 apk** 跑 jadx 取实际混淆类/方法名(`adb pull base.apk` → jadx)。
|
||||
2. **逐个真机验证**:每个新 RPC 真机调用见真实效果(朋友圈可见/红包到账测试号)才标 ✅,否则诚实留 companion/u2。
|
||||
3. **已落地样板**:`get_sticker_list`(读 EmojiInfo,真机 count=20)证明「本地 DB 读类」转真 RPC 模式可行;写类/网络类按 13.6.2 路径推进。
|
||||
|
||||
---
|
||||
|
||||
## 十四、Mac + 真机 · 一键验收
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user