![]() |
|
|
#4 |
|
Архивный участник
Join Date: Oct 2005
Posts: 21
|
Depends on version of L2.
The way current version of Lineage 2 works is, client requests connection from server, if the connection is granted, server sends back initiation packet, this packet contains the client's session ID, server protocol version, public RSA key, and dummy length padding. Client uses the RSA public key to 1024bit encrypt the username / password contained in login packet, entire login packet is then encrypted with blowfish. After a client's credentials are validated, packets are just encrypted with blowfish, occasionally the client requests the blowfish key, which the server sends to the client RSA encrypted. Older versions Lineage 2 of did not use RSA, it was just blowfish encrypted packets, the "crypt-key" packet wasn't really an encryption key, it was just a validation / initiation packet that the client used to confirm the server's validity. engine.dll is used decrypt / encrypt the packets with blowfish, you can find the blowfish key in there. As for changing the packet ids on the client, you're on your own with that, the ids are hard coded into the client all over the place, and on top of that, packets share the same ID but for differant uses. 0x00 is login packet ID for login server, but for the game server it could be protocol version or key packet. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|