View Single Post
Old 19.01.2006, 08:35   #9
dragon666
Архивный участник
 
Join Date: Jan 2006
Posts: 1
Default

actually lineage has a quite strange protocol(if it can be called a real protocol).
The first several packets are sent unencripped(including the username password packet. Yea corect, if you can snoop the first packet a user sends then you get his username and passwrd. If you weally WEALLY want you can try decoding the password, but it's not necessary because you can simply subctitute the packet on the fly when logging in and voilla! you log in his account without even knowing his name or password.

Anyway that's not the point:
1.packet size 0xFFFF(amm beter check any L2J packet, it was way long ago when I wrote some of that stuff)
2.packet ID 0xFF
2.packet data

it was long ago when I dealt with L2J source, and L2 packet snooping, so my info might be slightly incorrect.
What I do remember is that most of the data is sent by 0xFFFF variables, mostly numbers and(what is most interesting) a lot of text in a string format.

Snooping packets is easy, decoding them is easy too.
Analising and rebuilding however is a bit more different, but you can make it ]
dragon666 is offline