GMan
13.08.2006, 21:40
Im working on the C1 petition system and was looking for a way in PHP to encrypt the login packet like the petition client does it.
my notes sofar are
Packet info
Word 2 - payload size
byte 1 packet type, 02 for login
int 4 client build number
byte 1 game code, 02 for L2
char 14 account
char 16 password
char 8 tail, Babelfished (The up 35 bites to use the one_time_key again encrypt one price)
for Client build number, game code, account, password it has the note babelfished(Bite 35 at DES height the encrypt.)
a compiled packet loos like this with the username = username and password = password.
8/13/2006 2:38:50 PM Connection Opened to 127.0.0.1
8/13/2006 2:38:50 PM From Client (127.0.0.1) [DataAvailable]
0000 2B 00 02 18 5A 63 35 70 A0 32 CD 94 60 2E E4 82 +...Zc5p 2Í”`.ä‚
0010 72 80 09 3B 24 2A 30 CE 2F 36 9E 13 A9 D2 AE 29 r€.;$*0Î/6ž.©Ò®)
0020 24 ED 5A 00 00 00 BD D0 99 A7 35 50 4C 4C $íZ...½Ð™§5PLL
can anyone help me?
my notes sofar are
Packet info
Word 2 - payload size
byte 1 packet type, 02 for login
int 4 client build number
byte 1 game code, 02 for L2
char 14 account
char 16 password
char 8 tail, Babelfished (The up 35 bites to use the one_time_key again encrypt one price)
for Client build number, game code, account, password it has the note babelfished(Bite 35 at DES height the encrypt.)
a compiled packet loos like this with the username = username and password = password.
8/13/2006 2:38:50 PM Connection Opened to 127.0.0.1
8/13/2006 2:38:50 PM From Client (127.0.0.1) [DataAvailable]
0000 2B 00 02 18 5A 63 35 70 A0 32 CD 94 60 2E E4 82 +...Zc5p 2Í”`.ä‚
0010 72 80 09 3B 24 2A 30 CE 2F 36 9E 13 A9 D2 AE 29 r€.;$*0Î/6ž.©Ò®)
0020 24 ED 5A 00 00 00 BD D0 99 A7 35 50 4C 4C $íZ...½Ð™§5PLL
can anyone help me?