Skip to content
2019/02/20 - Return Oriented Programming 101
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
site
sols
.gitignore
1.c
2.c
3.c
Dockerfile
README.md
dist.sh
make.sh
reaper.sh
slides_final.pdf
xinetd.conf

README.md

Montrehack - ROP101

This repository contains the source code, binaries and solutions to the Montrehack workshop held on February 20th, 2019.

The workshop was live streamed and you can find my presentation of the slides as well my walk through of solutions 1 and 2 on Twitch.

Running

For the challenges: have docker installed, run ./dist.sh. The challenges will be exposed on localhsot, port 3001 to 3003.

For the solutions: With pwntools installed, edit sols/N.py to point to your local process or to the remote address, and run the script. To follow along in GDB, you can use gdb.debug() and run the script while running in tmux or screen.

Cleanup

docker stop rop-final
docker rm rop-final
docker rmi rop-final

Compiling

If you build the challenges yourself, remember that offsets may change and the solutiosn will no longer work. Using the challenges in bin/ will give the better experience. The code is provided to help understand why/how the challenges work.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.