Dienstag, 1. November 2016

HowTo: Read the first packet sent by the client

The first packet sent by the client to the server can be understood as follows:

Header:

BytesDescriptionLength
0x00-0x01Set to 00 00 (no session ID yet)2
0x02-0x03The length of the packets body in bytes2
0x04-0x07The command (aka action aka OP code): 000100004
0x08-0x0BThe sequence number of the packet: 000000004
0x0C-0x0FThe checksum of the packets body4
0x10-0x1100 004
0x12-0x1300 004

Body:

BytesDescriptionLength
0x14Length of the following (ASCII) string1
0x15-0x53The client version "061004_netver:..." as ASCII string63
0x54-0x57Length of the following block (0x0145 bytes, byte swapped)4
0x58-0x5BUnknown?4
0x5C-0x5FSet to 04 00 00 00 if a GLS ticket follows4
0x60-0x63Seconds since 1970, bytes must be read "backwards"4
0x64Length of the following (UTF-16) string4
0x65-0x96The account identifier? (a GUID/UUID in UTF-16)4
0x97-0x9aGLS ticket length (byte swapped) 0x0102 == 258 bytes4
0x9b-0x19cGLS ticket generated by the launcher4
That's all currently known behind the magic happening in the first packet.

1 Kommentar:

  1. Can you tell at which e-mail adresss we can reach you maybe?

    AntwortenLöschen