Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 13.08.2006, 21:40   #1
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default PHP petition login

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?
GMan is offline  
Old 13.08.2006, 22:36   #2
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

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.
Mayii is offline  
Old 14.08.2006, 01:58   #3
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

He outlined what he wanted to do in the first line of his post...
Shawnmb is offline  
Old 14.08.2006, 03:53   #4
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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...
testdude is offline  
Old 14.08.2006, 08:10   #5
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

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.
GMan is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:38.