8000 GitHub - jeredepp/bo: Buffeoverflow example · GitHub
[go: up one dir, main page]

Skip to content
jeredeppPublic

About

Buffeoverflow example

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0