Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 24.12.2005, 09:33   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default Merry Xmas to All - C# login packet source

well.. my present to everyone this xmas ^^
enjoy... hope this'd be some use to some ppl ^^
Digital is offline  
Old 24.12.2005, 10:31   #2
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Digi when it comes to C# you rule , tnx for the share !!! Merry Christmas to you !!!
TheOrder is offline  
Old 24.12.2005, 16:57   #3
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

man, you got me for a couple minutes
i tho this was retail's packet info, but too bad, its from l2j
torune is offline  
Old 24.12.2005, 18:20   #4
Sindol
Архивный участник
 
Join Date: Oct 2005
Posts: 21
Default

I was all pumped to see RequestAuthLogin packet, but santa left me a stockin full o coal on that one!
Sindol is offline  
Old 24.12.2005, 21:46   #5
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

("The Order" mode=on) "Oh <put Your favourite developer name here> You rule so much" ("The Order" mode=off)
Eliot is offline  
Old 24.12.2005, 21:52   #6
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

@ Digital & torune: provide me a good sniffer and I can make it happen
Flamestrike is offline  
Old 24.12.2005, 21:53   #7
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

You have nothing better to do ?? Or you just wanna pick on me ??
TheOrder is offline  
Old 25.12.2005, 04:15   #8
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

yeah.. it's all converted from l2j ;p
what's wrong with the RequestAuthLogin packet?
Digital is offline  
Old 25.12.2005, 10:01   #9
Sindol
Архивный участник
 
Join Date: Oct 2005
Posts: 21
Default

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).
Sindol is offline  
Old 26.12.2005, 11:06   #10
navy
Архивный участник
 
Join Date: Nov 2005
Posts: 41
Default

SupportClass is not included?
navy is offline  
Old 27.12.2005, 09:44   #11
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

hmm.. anyone tried crypto.net libs?
maybe worth a try?
Digital is offline  
Old 27.12.2005, 11:47   #12
navy
Архивный участник
 
Join Date: Nov 2005
Posts: 41
Default

hm..... google doesn't know this lib Do you have direct link to its home page
navy 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 21:26.