.. | ||
challenge | ||
challenge.c | ||
exploit.py | ||
Makefile | ||
README.md |
Basic Buffer Overflow
This directory is the most basic, classic, stack-based buffer overflow.
The stack is executable, and the binary is not randomized.
A few things are demonstrated in this example:
process
tubegdb.attach
for debugging processesELF
for searching for assembly instructionscyclic
andcyclic_find
for calculating offsetspack
for packing integers into byte stringsasm
for assembling shellcodeshellcraft
for providing a shellcode librarytube.interactive
for enjoying your shell
Feel free to modify the example, and try some other shellcode snippet!
You can easily list the available shellcode from the command-line:
$ shellcraft | grep i386
...
i386.linux.execve
...