Coder Social home page Coder Social logo

crackme's Introduction

Cr4ckm3 game

Cr4ckm3 is a small cracking game in which you search for password by using "unusual" [debugging] tools.

The exercises are pretty easy, you need to use tools like strings, strace, gdb, gprof or g++/clang++ sanitizers.

NOTE: This should REALLY be a Docker container. If you mind to create one, simply create a Pull Request! ;)

Rules

  • do not look into makefile or src sources
  • do not change chmods

How to play

Just clone the repository and fire make - it will build up a crackme directory. The first level is called warmup, so just fire ./crackme/warmup. Hack it with strace or strings.

The password you will find is the next level file name (so if you find password is something, then the next file to hack is ./crackme/something).

Authors

The game was made by Dominik Czarnota & Dariusz Zielinski for university classes at AGH University of Science and Technology in Cracow.

Hints/tools needed for particular level

Level 0 - warmup - strace / strings

Level 1 - strace / grep

Level 2 - strace, knowledge of file descriptors (and which file descriptors are usually opened for an executable?)

Level 3 - strace (did you know that you can read about syscall using man? e.g. man 2 read)

Level 4 - one of g++ / clang++ sanitizer (refer to man g++ or read up documentation) should tell you what's wrong; you have to fix the program in here (so yeah, cp the source, change something and recompile)

Level 5 - strace

Level 6 - the binary is compiled with -pg flag; use gprof

Level 7 - gdb

crackme's People

Contributors

torgiren avatar

Watchers

James Cloos avatar  avatar

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.