Git Product home page Git Product logo

gdbfuzzer's Introduction

gdbfuzzer

Experimental customizable deterministic fuzzer for blackbox testing binaries that take input from stdin. Written from scratch in Python 3 to be used in CTF challenge.

Usage

usage: gdbfuzzer.py [-h] -s S [-d] -g G -t T -p P

optional arguments:
  -h, --help  show this help message and exit
  -s S        Status directory.
  -d          Enable debug prints
  -g G        GDB magics template file
  -t T        Run timeout
  -p P        Fuzzed program

Example use:

mkdir gdbfuzzer_status
cat > gdbfuzzer_status/000000.json << EOF
{
    "breakpoints": [
        "0x40123b",
        "0x40126f",
        "0x40129e"
    ],
    "current_mod_byte": 0,
    "current_mod_index": 0,
    "expected_order": [
        "0x40123b"
    ],
    "id": 0
}
EOF
cp payload gdbfuzzer_status/000000.payload
cat > gdb_template.txt <<EOF
set pagination off
set architecture i386:x86-64
set breakpoint pending on

b __libc_start_main
command

b *0x004015a4
command
%BREAKPOINTS%
continue
end

continue
end
EOF

python3 gdbfuzzer.py -s gdbfuzzer_status -g gdb_template.txt -t 10 -p ./vm

gdbfuzzer's People

Contributors

mkorkalo avatar

Stargazers

 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.