Difference between revisions of "Lockdown"

From SkullSecurity
Jump to navigation Jump to search
Line 8: Line 8:
== Downloads ==
== Downloads ==


=== Source and Binaries ===
* [http://www.javaop.com/~ron/code/lockdown/alpha2/lockdown-complete.zip Complete Project] (Visual Studio 2005)
* [http://www.javaop.com/~ron/code/lockdown/alpha2/lockdown-complete.zip Complete Project] (Visual Studio 2005)
** Although I'm packaging this with an executable, that executable assumes that you have all the files you need in the same place as me, which isn't likely.  
** Although I'm packaging this with an executable, that executable assumes that you have all the files you need in the same place as me, which isn't likely.  
Line 15: Line 16:
* [http://www.javaop.com/~ron/code/lockdown/alpha2/lockdown Browse the Source Online]
* [http://www.javaop.com/~ron/code/lockdown/alpha2/lockdown Browse the Source Online]


 
=== Other ===
Here is a IDA database of the lockdown file I worked on. Should be somewhat educational:
* [http://www.javaop.com/~ron/code/lockdown/lockdown-IX86-00.idb.zip .idb of a lockdown .dll]
* [http://www.javaop.com/~ron/code/lockdown/lockdown-IX86-00.idb.zip .idb of a lockdown .dll]
 
* [http://www.javaop.com/~ron/code/lockdown/STAR.bin Starcraft screen dump]
 
* [http://www.javaop.com/~ron/code/lockdown/W2BN.bin Warcraft II screen dump]
Only download this if I tell you to:
* [http://www.javaop.com/~ron/code/lockdown/Private.rar Private] (Ignore this unless I tell you otherwise)
* [http://www.javaop.com/~ron/code/lockdown/Private.rar Private]


Please note that this code is simply for demonstration, and has not been thoroughly tested. It doesn't do anything except calculate the values, so it's up to others to incorporate it into a bot or .dll or whatever.
Please note that this code is simply for demonstration, and has not been thoroughly tested. It doesn't do anything except calculate the values, so it's up to others to incorporate it into a bot or .dll or whatever.
Line 32: Line 31:


Enjoy, and please direct any questions to me: [mailto:ronld@javaop.com ronld@javaop.com]
Enjoy, and please direct any questions to me: [mailto:ronld@javaop.com ronld@javaop.com]
== Testing ==
I appreciate anybody who tests this for me. I also hate anybody who has a problem.
If you want to test it, do the following:


== Old Versions ==
== Old Versions ==
* [http://www.javaop.com/~ron/code/lockdown/alpha1 Alpha 1] - Had a minor stack overflow issue so it would crash on certain machines.
* [http://www.javaop.com/~ron/code/lockdown/alpha1 Alpha 1] - Had a minor stack overflow issue so it would crash on certain machines.

Revision as of 23:43, 1 June 2007

Those of you who know me know that I use Linux as my primary operating system. As a result, I am unable to connect to Battle.net with any clients. That is why, for the purpose of cross-platform compatibility, I'm posting source code that emulates Battle.net's lockdown system.

Note that this code was 100% written by me, and is available for free under the BSD license, which you will find at the top of all code files. The bottom line is that, if you wish to use the source, you may, provided that the file's copyright notice remains intact and that credit is given to the authors (in this case "x86" or, if you wish, "iago").


Downloads

Source and Binaries

Other

Please note that this code is simply for demonstration, and has not been thoroughly tested. It doesn't do anything except calculate the values, so it's up to others to incorporate it into a bot or .dll or whatever.

The three main game files, the 20 lockdown files, and a screendump of the game are required. I cannot provide those here for legal reasons, unfortunately. The screendump can be taken with the screendump executable (extract into your game directory, follow the instructions at the top of the .bat file), and the rest you'll have to find on your own.

I believe that this code will work for any Blizzard product, but it has only been tested with original Starcraft.

If you think you can improve on my code, please feel free, and be sure to send me the final result! I am more than happy to incorporate your changes!

Enjoy, and please direct any questions to me: ronld@javaop.com

Testing

I appreciate anybody who tests this for me. I also hate anybody who has a problem.

If you want to test it, do the following:


Old Versions

  • Alpha 1 - Had a minor stack overflow issue so it would crash on certain machines.