Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
zachriggle committed Jun 11, 2015
1 parent 95c6f34 commit c003c59
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions walkthrough/basic-buffer-overflow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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` tube
- `gdb.attach` for debugging processes
- `ELF` for searching for assembly instructions
- `cyclic` and `cyclic_find` for calculating offsets
- `pack` for packing integers into byte strings
- `asm` for assembling shellcode
- `shellcraft` for providing a shellcode library
- `tube.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
...
```

0 comments on commit c003c59

Please sign in to comment.