![]() |
c4 authd
[php:1:8d2d66bd02]@@@@@@@@@@@@@@@@@@@@
Encrypted data 0000: 00 73 b0 58 d6 ba 16 2c 1d 4b 53 8e 27 94 e5 e5 .s.X...,.KS.'... 0010: 71 08 52 47 45 d3 78 07 27 af 03 45 87 11 eb 60 q.RGE.x.'..E...` 0020: 3a 88 2b 4c d9 57 18 d5 56 d1 9e 52 dc 74 2e 8e :.+L.W..V..R.t.. 0030: c9 f3 bc 69 d8 21 2c 3f 4c 30 13 b0 ce 61 1f 81 ...i.!,?L0...a.. 0040: 21 71 2c 63 fc 8b 38 a3 8c a7 b9 74 84 c1 4c ac !q,c..8....t..L. 0050: 9b aa 4e f4 cf d6 31 1d 61 d6 9e be c5 11 9f b1 ..N...1.a....... 0060: e4 d3 8e 39 d8 76 49 c5 c9 53 79 90 5c ee 7a e2 ...9.vI..Sy.\.z. 0070: d9 e2 d9 04 c5 ab 3c 98 e2 ab 2f 1f 54 27 44 32 ......<.../.T'D2 Decrypted data 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 ............... 0060: 00 00 74 6f 72 75 6e 65 00 00 00 00 00 00 00 00 ..torune........ 0070: 74 6f 72 75 6e 65 00 00 00 00 00 00 00 00 00 00 torune.......... @@@@@@@@@@@@@@@@@@@@ [/php:1:8d2d66bd02] the encryption key for blowfish is changed well, you can get it with ollydbg or those kinda stuff the only trouble crap is the user/pass decryption part i guess we need to hook a dll, then hex verify user/pass part take a jmp or call to the library, decrypt it, make it looks like old style-.- but i think the first thing we gotta do is change the bytes that authd send back when we connected to 2106. you can try it with telnet ip 2106 ---------------- 0x00 0x** 0x** 0x** 0x** <-your Session id, randed value 0x5a 0x78 0x00 0x00 ---------------------- replace it well no really replace, append we should say 144 new bytes which contains publickey for RSA encryption/decryption i believe we can just provide a publickey then continue use this publickey at decryption well, i always think client might generate a random key or maybe 0x00?, if we didnt send back an initialized publickey conclusion: RSA+Blowfish Encryption is used, we gotta need to find a way to work around with RSA Decryption. well, there is another way to get around of it, hex the c4 client login part to c3 style..... |
Hope we manange to make a Server that connects trow C4 Client it would be great :)imagine NCSOFT haaahaaaahaaaa they didn't even launched it !!!
|
At l2j foruns they said the client suports both auth protocols ..they kept the old one, ant that is why they can still use the same server with C4 client ...why that doesn't it work here?
|
Client after 557 revision supports only new authd scheme. Now, l2j change their LoginServer and also support it (as it is described by torune).
As I know, korean C4 supports only new scheme too. |
May be it is easyer to rewrite l2j LoginServer (and all its dependencies), or to add new possibilities to Authd written in C#? (see it awhile ago on forum)?
|
I'm almost there ...
I'm pretty close to a solution, but I got really busy IRL, and don't have time to fiddle with it.
Anyways, here's a .zip of my login server framework if someone wants to give it a shot and mess with, improve on it, or whatever. I for one hit a slump, forgot what I was doing and lost momentum with it. It's a VERY empty C# framework based on L2CS and L2J |
| All times are GMT. The time now is 16:19. |