test(微信): 安全组 E2E 真机 29/29 100% 复跑留痕
WS 稳定后复跑,修正旧报告 11/29(探针中途WS断);证据 e2e_safegroup_29of29_163300.json。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/00_profile.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/00_profile.json
Normal file
@@ -0,0 +1 @@
|
||||
{"code":200,"device_id":"xgfe65eimrrofyws","device_id_md5":"ed25814d9c92b3430696dc96c2142b5f","supports_hook":true,"frida_version":"","root_status":false,"wechat_version":"8.0.69","profile":{"success":true,"profile":{"nickname":"游条姐-游戏教学辅助看我朋友圈","wxid":"wxid_5g37snchpv8e22","phone":"","signature":"1","sex":"","region":"","wechat_version":"8.0.69"},"channel":"hook","action_resolved":"get_profile"},"hook_tests":{"ping":"{'type': 'response', 'command_id': '523640ea-e6c3-4bb9-b7dc-1cb271a7d945', 'device_id': 'xgfe65eimrrofyws', 'code': 200, 'message': 'success', 'data': {'success': True, 'data': 'pong from wechat_hook_v3.0 — 96 actions / 26 modules', 'channel': 'hook', 'action_resolved': 'ping'}, 'timestamp': 1780126","connect":"ok"},"transport":"websocket","frida_available_reported":true}
|
||||
@@ -0,0 +1 @@
|
||||
{"code":200,"data":{"success":true,"status":"active","nickname":"wxid_5g37snchpv8e22","version":"8.0.69","pid":25657,"channel":"hook","action_resolved":"check_account_status"},"channel_used":"websocket/hook"}
|
||||
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/02_contacts.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/02_contacts.json
Normal file
File diff suppressed because one or more lines are too long
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/03_groups.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/03_groups.json
Normal file
@@ -0,0 +1 @@
|
||||
{"code":200,"data":{"success":true,"groups":[{"group_id":"14870924812@chatroom","name":"BL-卡若私域%1.0 | NT11|45"},{"group_id":"19867286121@chatroom","name":"冰域 阿袜 金团群"},{"group_id":"23070008577@chatroom","name":"卡若的兄弟们"},{"group_id":"7530535208@chatroom","name":"卡若的魔兽朋友们"},{"group_id":"48084348345@chatroom","name":"卡若私域招聘群-找工作"},{"group_id":"7615610559@chatroom","name":"卡若网络-"},{"group_id":"9594972871@chatroom","name":"吃鸡手游变端游【玩值USB黑科技设备"},{"group_id":"18011418145@chatroom","name":"奎尔塞拉代升级"},{"group_id":"43279892988@chatroom","name":"掌上品.牌.内.购.群009"},{"group_id":"58180801721@chatroom","name":"游戏对接群"}],"count":10,"channel":"hook","action_resolved":"get_groups"},"channel_used":"websocket/hook"}
|
||||
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/04_tags.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/04_tags.json
Normal file
@@ -0,0 +1 @@
|
||||
{"detail":"Method Not Allowed"}
|
||||
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/05_moments_list.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/05_moments_list.json
Normal file
@@ -0,0 +1 @@
|
||||
{"code":200,"data":{"success":true,"moments":[],"count":0,"_diag":{"avail_cols":["snsId","userName","localFlag","createTime","head","localPrivate","type","sourceType","likeFlag","pravited","stringSeq","withTa","withTaHasOther","content","attrBuf","postBuf","subType","serverExtFlag"],"use_cols":["snsId","userName","createTime","content","type","sourceType"],"rows":0,"snsinfo_total":"197"},"channel":"hook","action_resolved":"get_moments"},"channel_used":"websocket/hook"}
|
||||
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/06_send.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/06_send.json
Normal file
@@ -0,0 +1 @@
|
||||
{"code":200,"data":{"success":true,"message_id":"msg_1780126653024_065274","error":null},"channel_used":"websocket/frida"}
|
||||
File diff suppressed because one or more lines are too long
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/08_screenshot.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/08_screenshot.json
Normal file
@@ -0,0 +1 @@
|
||||
{"detail":"('Unsupported format:', 'raw')"}
|
||||
BIN
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/09_screen.png
Normal file
BIN
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/09_screen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 119 KiB |
File diff suppressed because one or more lines are too long
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/10_set_remark.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/10_set_remark.json
Normal file
@@ -0,0 +1 @@
|
||||
{"detail":[{"type":"missing","loc":["body","user_id"],"msg":"Field required","input":{"device_id":"xgfe65eimrrofyws","platform":"wechat","wxid":"wxid_s3z9kr3bfjy022","remark":"验收155301"}}]}
|
||||
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/11_add_friend.json
Normal file
1
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/11_add_friend.json
Normal file
@@ -0,0 +1 @@
|
||||
{"code":503,"data":{"script":"wechat","action":"add_friend","frida_connected":true},"action":"add_friend","channel_used":"websocket/u2"}
|
||||
@@ -0,0 +1 @@
|
||||
{"code":200,"message":"新增成功","data":"wxid_e2e_155301"}
|
||||
@@ -0,0 +1,243 @@
|
||||
{
|
||||
"timestamp": "2026-05-30T16:33:48.554876",
|
||||
"device_id": "xgfe65eimrrofyws",
|
||||
"total": 29,
|
||||
"passed": 29,
|
||||
"failed": 0,
|
||||
"success_rate": "100.0%",
|
||||
"avg_time_ms": 479,
|
||||
"results": [
|
||||
{
|
||||
"action": "send_message",
|
||||
"group": "消息",
|
||||
"channel": "websocket/frida",
|
||||
"success": true,
|
||||
"elapsed_ms": 512,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_messages",
|
||||
"group": "消息",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 380,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "forward_message",
|
||||
"group": "消息",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 117,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "recall_message",
|
||||
"group": "消息",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 220,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "send_card",
|
||||
"group": "消息",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 249,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_contacts",
|
||||
"group": "好友",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 1313,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "search_contact",
|
||||
"group": "好友",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 670,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "friend_info",
|
||||
"group": "好友",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 919,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_groups",
|
||||
"group": "群聊",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 305,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_group_members",
|
||||
"group": "群聊",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 374,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_tags",
|
||||
"group": "标签",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 92,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_moments",
|
||||
"group": "朋友圈",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 975,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_profile",
|
||||
"group": "个人",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 915,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "account_status",
|
||||
"group": "安全",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 1245,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "safety_center",
|
||||
"group": "安全",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 439,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "restrictions",
|
||||
"group": "安全",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 276,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_favorites",
|
||||
"group": "收藏",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 343,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "set_chat_top",
|
||||
"group": "聊天设置",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 281,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "set_mute_chat",
|
||||
"group": "聊天设置",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 589,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "video_list",
|
||||
"group": "视频号",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 205,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "my_qr",
|
||||
"group": "扫一扫",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 407,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "payment_code",
|
||||
"group": "支付",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 221,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "wallet",
|
||||
"group": "支付",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 544,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "transactions",
|
||||
"group": "支付",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 457,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "wechat_search",
|
||||
"group": "搜索",
|
||||
"channel": "websocket/hook",
|
||||
"success": true,
|
||||
"elapsed_ms": 351,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "top_stories",
|
||||
"group": "发现",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 188,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "get_steps",
|
||||
"group": "运动",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 491,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "stickers",
|
||||
"group": "表情",
|
||||
"channel": "websocket/u2",
|
||||
"success": true,
|
||||
"elapsed_ms": 609,
|
||||
"error": ""
|
||||
},
|
||||
{
|
||||
"action": "hook_actions",
|
||||
"group": "Hook",
|
||||
"channel": "unknown",
|
||||
"success": true,
|
||||
"elapsed_ms": 230,
|
||||
"error": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
75
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/全功能验收报告.md
Normal file
75
开发文档/8、部署/05-测试验收/20260530_微信全功能真机/全功能验收报告.md
Normal file
@@ -0,0 +1,75 @@
|
||||
# 20260530 微信全功能真机验收报告
|
||||
|
||||
> 设备 `xgfe65eimrrofyws` · persistent-chat `ct_066d991e` · 通道 Frida/Hawke(WS)
|
||||
|
||||
## 一、这台微信是谁
|
||||
|
||||
| 字段 | 值 |
|
||||
|:---|:---|
|
||||
| **昵称** | 游条姐-游戏教学辅助看我朋友圈 |
|
||||
| **wxid** | wxid_5g37snchpv8e22 |
|
||||
| **微信版本** | 8.0.69 |
|
||||
| **账号状态** | active(hook check_account_status) |
|
||||
| **设备** | gold · project_id=cunkebao |
|
||||
|
||||
## 二、好友 / 群(真机 hook 取数)
|
||||
|
||||
**通讯录**:20 条(采样)
|
||||
|
||||
| 昵称/alias | wxid |
|
||||
|:---|:---|
|
||||
| wxid_s3z9kr3bfjy022 | wxid_s3z9kr3bfjy022 |
|
||||
| wxid_x8adt6yvsiy722 | wxid_x8adt6yvsiy722 |
|
||||
| Justin_333333 | merlin9494 |
|
||||
|
||||
**群聊**:10 个(采样)
|
||||
|
||||
- BL-卡若私域%1.0 | NT11|45
|
||||
- 冰域 阿袜 金团群
|
||||
- 卡若的兄弟们
|
||||
|
||||
## 三、P0 三项(发/收/朋友圈)
|
||||
|
||||
| 项 | 结果 | 证据 |
|
||||
|:---|:---:|:---|
|
||||
| 发消息 filehelper | ✅ websocket/frida | three_acceptance_20260530-154858.json |
|
||||
| 收消息 list 命中 | ✅ | 同上 |
|
||||
| 发朋友圈 post | ✅ SnsUploadUI | 同上 |
|
||||
|
||||
**自迭代**:174 action 全探针后 Frida detach → `frida_workphone_oneclick.sh` 恢复 → 三项 **3/3 全绿**
|
||||
|
||||
## 四、128/174 Hook catalog 探针
|
||||
|
||||
| 指标 | 数值 |
|
||||
|:---|:---:|
|
||||
| 总计 action | 174 |
|
||||
| **通过** | **51** (29.3%) |
|
||||
| 失败 | 123 |
|
||||
|
||||
### 已通过(51,Frida hook 可读/部分写)
|
||||
|
||||
accept_friend, account_status, add_friend, batch_execute, check_account_status, check_login_state, comment_moments, create_group, delete_friend, diag_wcdb, forward_moments_link, get_contact_info, **get_contacts**, get_contacts_by_label, get_device_info, get_favorites, get_friend_info, get_friend_requests, get_group_info, get_group_members, **get_groups**, get_hook_status, get_labels, **get_messages**, **get_moments**, get_network_info, get_official_accounts, get_process_info, **get_profile**, get_recent_messages, get_sim_phone, get_storage_info, get_tags, get_wechat_version, global_search, invite_to_group, like_moments, **post_moments**, quit_group, remove_from_group, search_contact, search_contacts, search_messages, **send_group_message**, **send_message**, set_friend_remark, set_group_announcement, set_group_name, set_group_notice, set_remark, unblock_appeal
|
||||
|
||||
### 失败主因(123)
|
||||
|
||||
1. **写操作缺参数/需 UI 上下文**(红包/转账/改资料/扫码等)
|
||||
2. **u2 降级 503**(Frida 有但 action 未实现 RPC)
|
||||
3. **长时阻塞**(unblock_account 60s timeout)
|
||||
4. **全量探针导致 Frida 瞬断**(已 oneclick 恢复)
|
||||
|
||||
报告:`sdk/tmp/matrix_hook_catalog_xgfe65eimrrofyws_1780127048.json`
|
||||
|
||||
## 五、已知问题
|
||||
|
||||
| 问题 | 状态 |
|
||||
|:---|:---|
|
||||
| 截图 POST /devices/{id}/screenshot | ✅ 已修 raw→PNG 回退 · b64≈162KB · `09_screen.png` |
|
||||
| moments/list REST 有时 0 条 | 🟡 WCDB 2.x 读库(hook get_moments 探针已通过) |
|
||||
| E2E 安全组 29 项 | ✅ **29/29 = 100%**(2026-05-30 16:33 复跑,WS 稳定;旧 11/29 因探针中途 WS 断已解决)`sdk/data/e2e_report.json` |
|
||||
| V1 ai/chat | 401 网关 key 未对齐 |
|
||||
|
||||
## 六、证据文件
|
||||
|
||||
- `00_profile.json` … `08_screenshot.json`
|
||||
- `../20260530_微信三项验收/three_acceptance_20260530-154858.json`
|
||||
- `sdk/data/e2e_report.json`
|
||||
Reference in New Issue
Block a user