RNA Handshake
Login_Packet [1101]
Packet_1 [S->C]
opcode [unsigned int]
0x6000
size [unsigned int]
0x0005
flag [unsigned char]
0x50
security [unsigned char]
{random}
append A101 Login Packet
Packet_2 [C->S]
opcode [unsigned int]
0x6000
size [unsigned int]
0x0020
security [unsigned char]
(unsigned char*)(Packet_1 + 6) ^ 0xFF
crc [unsigned int]
crc_perform_check(Packet_2_CRYPT);
sesion_id [16 bytes]
constant
blowfish_chunk [unsigned long]
{random}
Packet_3 [S->C]
opcode [unsigned int]
0x6000
size [unsigned int]
0xB007
0x0007 | 0xB000
{Blowfish crypted packet}
flag [unsigned char]
0x55
blowfish_chunk1 [unsigned long]
blowfish_check [unsigned short]
0x1337