Kategóriák: Minden - security - size

a Ramón Perez 13 éve

326

RNA Handshake

In a communication session, various packets are exchanged between a client and a server, each containing specific data structures and encryption mechanisms. A handshake packet initiates the connection, incorporating a flag and a Blowfish-encrypted chunk.

RNA Handshake

RNA Handshake

Packet_3 [S->C]

blowfish_check [unsigned short]
0x1337
blowfish_chunk1 [unsigned long]
0x55
0xB007

0x0007 | 0xB000

{Blowfish crypted packet}

Packet_2 [C->S]

blowfish_chunk [unsigned long]
sesion_id [16 bytes]
constant
crc [unsigned int]
crc_perform_check(Packet_2_CRYPT);
(unsigned char*)(Packet_1 + 6) ^ 0xFF
0x0020

Packet_1 [S->C]

append A101 Login Packet
security [unsigned char]
{random}
flag [unsigned char]
0x50
size [unsigned int]
0x0005
opcode [unsigned int]
0x6000

Login_Packet [1101]