![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
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? |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 113
|
1.- that packet format is the standard for everything in L2.
2.- babelfish? not really. it's called blowfish. anyways I still don't understand what the hell you wanna do. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
He outlined what he wanted to do in the first line of his post...
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
theres a worldemu that is included with one of the petition servers, with source also, and it emulates a server that the petition client can connect to, im sure the answers are all in there...
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
Thanks for the replys, ive looked through the emu source and dont see anything about decrypting ill look again thoe, i was figuring the Pet. client goes to the pet server and the pet server does auth check with the auth server.
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|