From: Ron <ia...@va...> - 2005-03-16 20:45:28
|
The problem is that the cdkey decryption is different for War2 and D2 (and is common beween the two of them), and the login is totally different for War3. War3 uses different messages (SID_AUTH_ACCOUNTLOGON [0x53] and SID_AUTH_ACCOUNTLOGONPROOF [0x54]) to log in. The packets are described in a document I wrote, http://www.javaop.com/~iago/SRP.html. They are cryptographically strong, and also pretty hard to do it in C. BNCSUtil, of course, can do it :P By the way, if you've never seen it, have a look at http://bnetdocs.valhallalegends.com. That's maintained by Arta[vL] and others (including me). It has tons of great information. Just for fun, I'll give the history of the war3 login. When War3 was first released, Skywing and Yoni (both members of vL) reversed the entire thing, privately, and made a server called BNLS. Basically, you send your cdkey and password to it and it encrypts them for you. I personally hated it, and think that the whole idea of a server like that is asinine. Last summer, me, Maddox, and TheMinistered (from forum.valhallalegends.com) reversed it ourself to C++ code. The C++ code relied heavily on the storm.dll library, which we didn't like. We were planning on cleaning it up and releasing it. Unfortunately, the source (including a .dll for using it) was stolen off TheMinistered's the computer due to a stupid VNC password. Somebody released it, and we never supported it. The project kinda died, and people used the stolen code. Evenually, I got Maddox and TheMinistered's permission to port it to Java and opensource it. I did that, and about a month ago I wrote documentation on it (SRP.html from above). Using that documentation, Cloaked or shadypalm wrote BNCSUtil, which is back to C++. Kind of a neat story. To me, anyway. Zilo wrote: > On 03/16/05 15:42:16, Ron wrote: > >> Very cool, I'll have a look at it when I get some time. Which >> clients does it support? > > > I tested it only for starcraft/broodwar and it works... for the > others clients updating the games.xml file should be enough I think. > >> I highly recommend BNCSUtil if you haven't already looked at it. > > > I'm reading now some headers... thinking about it... > > -- > Dario Zilocchi > ko...@gm... > > Listening: Nine Inch Nails - Complication > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > gaim-bnet-devel mailing list > gai...@li... > https://lists.sourceforge.net/lists/listinfo/gaim-bnet-devel > > |