chore(interaction): round-2 cmd probe — focus on 0x9084 family

Round-1 wire dump revealed:
  - 0x9083_1 returns a 4-byte ack (`18 01 20 01`), no user data
  - 0x9082_3/_4, 0x9083_0/_2/_3 all return "no privilege" (server-side
    deny linked to iwiki.woa.com permission docs)
  - 0x9084_1 returns 932 bytes — a real reaction *summary* on the
    message: first entry carries (timestamp, count, type, emoji_id)
    for the used emoji ("76" with count=3 in our test), followed by
    a 28-entry catalog of available reaction emojis. NOT a user list,
    but proves 0x9084 family has live handlers.

The "fetch users who reacted with emoji X" sibling is almost
certainly another subcmd of 0x9084. Probe the immediate neighborhood:

  0x9084_2..5   first-choice candidates (sibling subcmds)
  0x9085_1..2   exploratory adjacent cmd
  0x9086_1, 0x9087_1  wider probe
  0x9084_1      kept at end so we still capture the summary baseline
This commit is contained in:
DrSmoothl committed 2026-05-22 21:38:13 +08:00
1 parent 7e3e833f84
commit 65636953e7
1 file changed
+13 -7
+13 -7
View File
@@ -100,14 +100,20 @@ export class InteractionApi {
// return the first one that surfaces users. Frequencies are low
// (user-triggered "view who reacted") so the extra SSO traffic is
// acceptable for a debug build.
// Round-2 candidates, after round-1 found 0x9084_1 returns a reaction
// summary (emoji_id list with timestamp/count for used emojis, plus
// a 28-emoji catalog). We need the "fetch users who reacted with
// emoji X" sibling — almost certainly another subcmd of 0x9084.
const candidates: Array<readonly [number, number]> = [
[0x9083, 1], // historic / baseline (we know returns 4-byte ack)
[0x9082, 3], // 0x9082_1=set / _2=unset → _3 might be list
[0x9082, 4],
[0x9083, 0],
[0x9083, 2],
[0x9083, 3],
[0x9084, 1],
[0x9084, 2], // most likely: "fetch reactor user list for specific emoji"
[0x9084, 3],
[0x9084, 4],
[0x9084, 5],
[0x9085, 1], // adjacent cmd family, exploratory
[0x9085, 2],
[0x9086, 1],
[0x9087, 1],
[0x9084, 1], // keep baseline at the end so we still confirm summary
];
let winner: { users: Array<{ uin: number }>; cookie: string; isLast: boolean } | null = null;