added ROPgadget.py

This commit is contained in:
crossow 2023-12-20 13:36:29 +01:00
parent 58562dc628
commit bdd43a84eb
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