![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
well.. my present to everyone this xmas ^^
enjoy... hope this'd be some use to some ppl ^^ |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
Digi when it comes to C# you rule , tnx for the share !!! Merry Christmas to you !!!
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
man, you got me for a couple minutes
i tho this was retail's packet info, but too bad, its from l2j |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Oct 2005
Posts: 21
|
I was all pumped to see RequestAuthLogin packet, but santa left me a stockin full o coal on that one!
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2005
Posts: 368
|
("The Order" mode=on) "Oh <put Your favourite developer name here> You rule so much" ("The Order" mode=off)
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
@ Digital & torune: provide me a good sniffer and I can make it happen
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
You have nothing better to do ?? Or you just wanna pick on me ??
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
yeah.. it's all converted from l2j ;p
what's wrong with the RequestAuthLogin packet? |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Oct 2005
Posts: 21
|
It won't decrypt the RSA part of the packet
![]() Windows Crypto API doesn't support unpadded RSA decryption, so you can't use any of C#'s built in methods to decrypt it. I worked around it using a BigInt class with a modpow function, but it performs like crap on top of crap, adding almost 500% to the time it takes to handle the packet, and for some reason it doesn't work at random times. I think it has something to do with me generating RSA keys using C# RSACryptoProvider, but decrypting in the BigInt class and it's mishandling of Big/Little Endian order (an M$ "bug"). So I just reverted back to supporting the old encryption (C1- C3) but left the code in for when I get it hammered out. I'm practically useless when it comes to crypto, I know most of the basic math involved, but thats the extent of it. Torune was supposed to be working on an updated version of Authd that supports the new encryption but I havent heard about it for awhile, he probably got fed up with the same black hole of despair that I went through when trying to deal with it. Sad part is, its almost no differant then the old encyption minus the RSA part and a larger packet length (due to sending RSA public key). |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Nov 2005
Posts: 41
|
SupportClass is not included?
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
hmm.. anyone tried crypto.net libs?
maybe worth a try? |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Nov 2005
Posts: 41
|
hm..... google doesn't know this lib
Do you have direct link to its home page
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|