Collection of somewhat useful stuff for CTF events
Python Go C Shell Assembly Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ExploitTemplates
NetworkProxy
ShellcodeBuilder
ShellcodeTester
LICENSE
README.md
gdb.md

README.md

CTFCODE

Collection of somewhat useful stuff for CTFs.

Contents

./ShellcodeTester

Simple tool to load and execute shellcode, either from stdin or from a file. Supports x32 and x64.

Usage:

cd ShellcodeTester
make 32
./run /path/to/my/shellcode

Obviously, be careful with this :)

./ShellcodeBuilder

Basically just a Makefile and assembly templates to build custom shellcode.

Usage:

cd ShellcodeBuilder
# write your shellcode
vim shellcode32.asm
make 32

Afterwards go ahead and directly test your new code with the ShellcodeTester:

../ShellcodeTester/run shellcode

./ExploitTemplates

These mostly take care of the networking stuff so your exploit doesn't have to, but they also provide some commonly needed funtionality, e.g. packing and unpacking of binary data.

See here for a usage example (the code uses an older version of the templates though) or just play around with them a bit on your own.

./NetworkProxy

A simple network proxy. Supports live inspection and manipulation of packets passing through it.

Usage:

cd NetworkProxy
make
./proxy 127.0.0.1:8000 kitctf.de:80