Skip to content

jeredepp/bo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Buffeoverflow example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published