Giter Site home page Giter Site logo

repnz / reversingminesweeper Goto Github PK

View Code? Open in Web Editor NEW
112.0 6.0 9.0 223 KB

Reverse Engineering Minesweeper: Reconstruct Minesweeper Source Code

License: Other

C 100.00%
reversing reverse-engineering reverse-engineered minesweeper minesweeper- c winapi windows game

reversingminesweeper's Introduction

Reversing Minesweeper

Wtf

This project is currently on-going. The purpose of this is to reconstruct the full source code of the original windows xp Minesweeper. (sha256: bcff89311d792f6428468e813ac6929a346a979f907071c302f418d128eaaf41)

I finished reconstructing the full minesweeper source:) The only thing that I don't have time to do is to order variables in one module.. Looking in the assembly code and variable layout it looks like most of the variables were global variables declared in one source file.

The artifacts of the reverse engineering process:

  • Design document explaining the full design and implementation of MineSweeper
  • Full compilable source code of MineSweeper
  • Finding bugs

Most of the process is done using static analysis without using a decompiler. I wanted to read lots of assembly code.

TODO

  • Create documentation
  • Test code
  • Create remote hacking tool

Nt 4.0 Leak

As stated here, The source code of Minesweeper has already been leaked - So we have a peek at the original source back then.

  1. I did not know it was leaked when I started this
  2. I was doing this just for fun and learning so probably I would have done it anyway
  3. This is not the exact version I wanted to reverse engineer

After I finished the project, I compared the source code from my reversing to the leaked source, you can see it's almost identical, so yay.

Minesweeper Game Controller

The purpose of this tool is to allow full control over a remote minesweeper process. Some ideas I had:

  • Create a remote Minesweeper Hacking Tool (in Rust)
    • Configure bombs
    • Configure timer
    • Configure board size beyond the usual limits
    • Configure game state - end game, win game, lose game

reversingminesweeper's People

Contributors

repnz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

reversingminesweeper's Issues

How to compile

Still want to know how I can compile this, how can I like, make a makefile or use the visual studio solution??????

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.