Skip to content

alxbl/montrehack-rop101

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
1.c
 
 
2.c
 
 
3.c
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

2019/02/20 - Return Oriented Programming 101

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published