SMSG AUTH CHALLENGE: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Add info about being unencrypted)
m (Replace categories with template)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


It is one of only two world packets with unencrypted headers, the other being [[CMSG_AUTH_SESSION]].
It is one of only two world packets with unencrypted headers, the other being [[CMSG_AUTH_SESSION]].
{{SMSG_Header|size=6|opcode=0x1EC}}


{| class="wikitable"
{| class="wikitable"
Line 11: Line 13:
! Description
! Description
|-
|-
| 0x0 || 4 / Little || uint32 || seed ||  
| 0x0 || 4 / Little || uint32 || server_seed || Used for calculation proving that client knows session key.
|}
|}
{{SMSG_Categories}}

Latest revision as of 16:51, 24 May 2021

SMSG_AUTH_CHALLENGE 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 CMSG_AUTH_SESSION.

SMSG Header
Offset Size / Endianness Type Name Description
0x0 2 / Big uint16 size Size of the packet including the opcode field.
Always 6.
0x2 2 / Little uint16 opcode Opcode for the packet.
Determines the structure of the body.
Always 0x1EC.


Body
Offset Size / Endianness Type Name Description
0x0 4 / Little uint32 server_seed Used for calculation proving that client knows session key.