Skip to content

nchong/rop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

We are going to try to follow this tutorial:

http://blog.techorganic.com/2015/04/10/64-bit-linux-stack-smashing-tutorial-part-1/
  1. Install ubuntu 14.10 VM

  2. Set apt-get for older releases. See: http://askubuntu.com/questions/91815/how-to-install-software-or-upgrade-from-an-old-unsupported-release

    $ sudo sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

  3. Install tools $ sudo apt-get update $ sudo apt-get install vim git

  4. Clone this repo

    $ git clone git@github.com:nchong/rop.git

  5. Get the python exploit development assistance for gdb

    $ git clone https://github.com/longld/peda.git ~/peda $ echo "source ~/peda/peda.py" >> ~/.gdbinit

  6. Turn off ASLR

    $ su $ echo 0 > /proc/sys/kernel/randomize_va_space $ exit

  7. Compile and run classic.c

    $ gcc -fno-stack-protector -z execstack classic.c -o classic $ ./classic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages