Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: OriOn on January 03, 2004, 12:03 PM

Title: About verification of the signature (war3)
Post by: OriOn on January 03, 2004, 12:03 PM
the storm.dll seems to transform 0x0010001 to the ip of the bnet server which u are connected.
The dll use rsa (so the 1024 bits signature ) to encrypt or decrypt the value 0x0010001 to the ip ? or it s another algorithm ?
Somebody has a rsa code in C ? (i dont want to use the ms crypto api)
Title: Re:About verification of the signature (war3)
Post by: l)ragon on January 03, 2004, 02:28 PM
You could allways look around for ARDenc.dll I cant remember the link to where it is at 8(
Title: Re:About verification of the signature (war3)
Post by: UserLoser. on January 03, 2004, 02:35 PM
Quote from: dRAgoN on January 03, 2004, 02:28 PM
You could allways look around for ARDenc.dll I cant remember the link to where it is at 8(

http://botdev.valhallalegends.com/
Title: Re:About verification of the signature (war3)
Post by: UserLoser. on January 03, 2004, 02:36 PM
Quote from: OriOn on January 03, 2004, 12:03 PM
the storm.dll seems to transform 0x0010001 to the ip of the bnet server which u are connected.
The dll use rsa (so the 1024 bits signature ) to encrypt or decrypt the value 0x0010001 to the ip ? or it s another algorithm ?
Somebody has a rsa code in C ? (i dont want to use the ms crypto api)

Don't know a whole lot about the server signature, but here's an example (http://www.valhallalegends.com/docs/CryptoAPISign.cpp) Skywing has with CryptoAPI
Title: Re:About verification of the signature (war3)
Post by: OriOn on January 03, 2004, 03:02 PM
hummm,
I will try to reverse the code :(
i am so lazy :p
Title: Re:About verification of the signature (war3)
Post by: UserLoser. on January 03, 2004, 03:05 PM
Quote from: OriOn on January 03, 2004, 03:02 PM
hummm,
I will try to reverse the code :(
i am so lazy :p

I disagree, i think trying to reverse code is the opposite of lazy :P
Title: Re:About verification of the signature (war3)
Post by: Maddox on January 03, 2004, 09:56 PM
Quote from: UserLoser. on January 03, 2004, 02:36 PM
Quote from: OriOn on January 03, 2004, 12:03 PM
the storm.dll seems to transform 0x0010001 to the ip of the bnet server which u are connected.
The dll use rsa (so the 1024 bits signature ) to encrypt or decrypt the value 0x0010001 to the ip ? or it s another algorithm ?
Somebody has a rsa code in C ? (i dont want to use the ms crypto api)

Don't know a whole lot about the server signature, but here's an example (http://www.valhallalegends.com/docs/CryptoAPISign.cpp) Skywing has with CryptoAPI

He just said that he didn't "want to the use the ms crypto api" and you gave him a link to an example...
Title: Re:About verification of the signature (war3)
Post by: UserLoser. on January 03, 2004, 10:07 PM
Quote from: Maddox on January 03, 2004, 09:56 PM
Quote from: UserLoser. on January 03, 2004, 02:36 PM
Quote from: OriOn on January 03, 2004, 12:03 PM
the storm.dll seems to transform 0x0010001 to the ip of the bnet server which u are connected.
The dll use rsa (so the 1024 bits signature ) to encrypt or decrypt the value 0x0010001 to the ip ? or it s another algorithm ?
Somebody has a rsa code in C ? (i dont want to use the ms crypto api)

Don't know a whole lot about the server signature, but here's an example (http://www.valhallalegends.com/docs/CryptoAPISign.cpp) Skywing has with CryptoAPI

He just said that he didn't "want to the use the ms crypto api" and you gave him a link to an example...

And you're telling me what i already know - Maybe he didn't feel like looking up all the information stuff needed
Title: Re:About verification of the signature (war3)
Post by: Soar on January 04, 2004, 04:09 AM
I like using CryptoAPI in SSL, as it is fully free, complete & cross-platform
Title: Re:About verification of the signature (war3)
Post by: Kp on January 04, 2004, 01:33 PM
Quote from: Soar on January 04, 2004, 04:09 AM
I like using CryptoAPI in SSL, as it is fully free, complete & cross-platform

Microsoft implemented CryptoAPI on Linux?  They must have, or it wouldn't be cross-platform. :)  There are SSL implementations that are free, cross-platform (provided as source so you can build it yourself), and (to the best of my experience) complete.
Title: Re:About verification of the signature (war3)
Post by: Skywing on January 04, 2004, 01:44 PM
AFAIK, the SSL stuff in SChannel is only available on NT-based Windows operating systems (no win9x).