CMSG AUTH SESSION

From wowdev
Revision as of 15:05, 23 May 2021 by Deadbeef (talk | contribs) (Created page with "'''CMSG_AUTH_SESSION''' is a World Packet that initiates the connection between the client and the world server. It is one of only two world packets with unencrypted head...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CMSG_AUTH_SESSION is a World Packet that initiates the connection between the client and the world server.

It is one of only two world packets with unencrypted headers, the other being SMSG_AUTH_CHALLENGE.

Body
Offset Size / Endianness Type Name Description
0x0 4 / Little uint32 build Revision of client.
0x4 4 / Little uint32 server_id
0x8 - / Big char[] username Null terminated string.
- 4 / Little uint32 client_seed Client seed for proving knowledge of session key.
- 20 / Little uint8[20] client_proof Client proof of knowing the session key.
- 4 / Little uint32 decompressed_addon_info_size
- 4 / Little uint8[] compressed_addon_info This field lasts until the end of the packet.
The size of this can be calculated from the size field in the header.