ClientLink::PutChallengeBody
function · net · primitive
- Address
0x5bb460· 223 bytes, up to0x5bb53e- Signature
void __thiscall (ClientLink *this, CDataStore *message, const void *info)- Meaning
- Writes the challenge body from the client info, the local address and the account, then back-patches its u16 size
- Confidence
- verified, proof one
- Finding
- net/login#logon-challenge
- Test
net::grunt_challenge_body
Finding: Logon challenge in net: login
The client opens with command 0x00, then 0x03, a 16-bit size of the rest, and: game
'WoW', version 1, 12, 1, build 5875, platform 'x86', system 'Win', the locale, the
time-zone bias, the local IPv4 address, and the account's length and bytes. The four-letter
values are little-endian dwords, so 'x86' goes out as the bytes 36 38 78 00. The account and
password are upper-cased first. A reconnect sends the same body after 0x02, 0x02.
| field | size | value |
|---|---|---|
| game | 4 | 0x00576f57 |
| version | 1, 1, 1 | 1, 12, 1 |
| build | 2 | 0x16f3 |
| platform, system | 4, 4 | 0x00783836, 0x0057696e |
| locale | 4 | the client's locale code |
| time zone | 4 | minus the system's bias in minutes, or 0 |
| address | 4 | the socket's local address |
| account | 1 + n | length, then the upper-cased bytes |
The derivation is in the doc.
Callers 2
Callees 7
- CDataStore::Set16 base
- CDataStore::PutInt8 base
- CDataStore::PutUInt16 base
- CDataStore::PutUInt32 base
- CDataStore::PutUInt32_2 base
- CDataStore::PutData base
- SStrLen storm
Calls and jumps by a bare address, from tables/calls.tsv.