User(s) browsing this thread: 1 Guest(s)
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auth
06-16-2009, 11:38 PM
Post: #1
Auth
So everyone here is something about the Auth Process.

At first : you dont need launchpad, it is useless to code launchpad cause you can disable it with UseLaunchpad=0 in the useropts.

But i dont really know if there would be a new possibility with launchpad..maybe.

So lets start:

After Launchpad is authed, MxO connectes with TCP Port 11000 to the MxO auth Server.

The first packets is everytime the same:
09 06 F1 1D 07 00 04 00 00 00

What we really now is that the 04 is the RSA Algorithm that is used from the public key.

The Answer is something like this :
12 07 00 00 00 00 CC 69 37 4A 04 00 00 00 00 00
00 00 00

The Bytes CC 69 37 can change...maybe its something like a checksum?

So after this there is the hard part :

For example this :
The 0x80 0xaa packet, the first part is everytime the same :

80 AA 08 04 00 00 00 01 28 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 80 00

After that the Data varies, maybe its a encoding by RSA, clientchecksum etc. , but it consist the username and password.

The Response is a

11 09 packet (the data after 11 09 varies everytime too), the 11 09 is important so that this say the client "auth ok".

After this a 55 0a packet is send (if you disabled launchpad it is 45 0a, and if you have your own server that excepts everything and starts up with -qlsession the packets are 35 0a).

55 0A 03 00 50 00 - all data after that varies too.

The Response is the Serverlist packet beginning with 82 CC.
In the Serverlist packets there are two parts (ok 3) which changes everytime.

Search for 31 36 01 in the packet , after this the first part started and ends with a 01.

The Second part is near in the 00 fields and 4 bytes long for example :
24 6C 37 4A , seems to be a checksum or something too.

The next part starts with 01 too and ends with 0C.

I dont know what or why but this parts seems to be very important, cause if you bypass this, your client connects to the margin server, but hang and dont send any data.
Find all posts by this user
Quote this message in a reply
07-10-2009, 07:42 PM
Post: #2
RE: Auth
Ok some new thing (didnt really know if someone had posted that)

At the first packet you can see there a F1 1D = 1df1 = 7665 .

That is the version number of the client, if you dont patched your client with the new patch you can see that this value changed to the actually number and that you get a 12 11 packet back which says the client "your version is wrong".

12 07 11 00 00 11 00 00 00 00 00 00 00 00 00 00
00 00 00
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: