Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 595 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 595 Bytes

bo

Debian Buffeoverflow example


Requirements

  • Debian 4 installed
  • gcc
  • gdb
  • nasm
  • ld
  • binutils
  • python
  • execstack

apt-get install gcc gdb nasm ld binutils pythin execstack


Configurations

##randomize_va_space In order to run this Demo you have to turn off virtual memory randomization

$ echo 0 > /proc/sys/kernel/randomize_va_space
$ sysctl -p

##ulimit In order to be able to work with coredumps we need to raise the ulimit

$ ulimit -c unlimited

##gcc usage gcc must be run as follows (execstack has to be installed)

$ gcc -fno-stack-protector -z execstack