Difference between revisions of "Lockdown"

From SkullSecurity
Jump to navigation Jump to search
Line 7: Line 7:


== Downloads ==
== Downloads ==
Current version: Alpha3
Changes:
* Added a completely new set of test cases


=== Source and Binaries ===
=== Source and Binaries ===

Revision as of 20:00, 2 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

Current version: Alpha3 Changes:

  • Added a completely new set of test cases

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:

  • Download STAR.bin.
    • Put it in C:\Temp
  • Download lockdown-IX86-00.dll from somewhere (not included).
    • Put it in C:\Temp
  • Install Starcraft to "C:\Program Files\Starcraft", and ensure it's at the latest patch (1.15)
  • Download and lockdown.exe. You should get two pairs of identical numbers, something like:
c:\temp\lockdown-IX86-00.dll: a1f3055a, 4551fb8f
a76bd3ea
a76bd3ea

a1720661207???9505df37f46f6212bd
a1720661207cfb9505df37f46f6212bd

Old Versions

  • Alpha 1
  • Alpha 2 - Fixed a minor stack overflow issue so it would crash on codes (longer than 0x10 bytes).