Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   PHP petition login (https://postpacific.loc-online.com/showthread.php?t=5405)

GMan 13.08.2006 21:40

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?

Mayii 13.08.2006 22:36

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.

Shawnmb 14.08.2006 01:58

He outlined what he wanted to do in the first line of his post...

testdude 14.08.2006 03:53

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...

GMan 14.08.2006 08:10

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.


All times are GMT. The time now is 16:19.