Compare commits

...

2 Commits

Author SHA1 Message Date
crossow 1204c70c2d Merge branch 'master' of ssh://git.cs.tu-dortmund.de:2222/christian.rossow/sfl-examples 2023-12-20 13:37:33 +01:00
crossow bdd43a84eb added ROPgadget.py 2023-12-20 13:36:29 +01:00
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/bin/bash
PATH_TO_ROPGADGET=ROPgadget/ROPgadget.py
# INSTALLATION
#
# Requires to install ROPgadget before:
# https://github.com/JonathanSalwan/ROPgadget
# Alternatively, on Debian systems:
# apt install python3-ropgadget
# USAGE
#
# libc is typically a great way to start searching for ROP gadgets, as
# it's linked to typical processes. To find the exact libc path on your
# system, you can use ldd; e.g.,
# ldd /bin/sh
# reveals which libc version (and file) your shell linked against.
# The following command will
${PATH_TO_ROPGADGET} --binary /lib/x86_64-linux-gnu/libc.so.6 --all