ROPgadget Tool

MEMO 2016. 3. 31. 23:21

"Capstone 여기가 의심되는 경우는 apt-get install capstone --upgrade 를 실시해봄 ""

ROPgadget Tool

This tool lets you search your gadgets on your binaries to facilitate your ROP exploitation. ROPgadget supports ELF/PE/Mach-O format on x86, x64, ARM, ARM64, PowerPC, SPARC and MIPS architectures. Since the version 5, ROPgadget has a new core which is written in Python using Capstone disassembly framework for the gadgets search engine - The older version can be found in the Archives directory but it will not be maintained.

Install

If you want to use ROPgadget, you have to install Capstone first.

For the Capstone's installation on nix machine:

$ sudo pip install capstone

Capstone supports multi-platforms (windows, ios, android, cygwin...). For the cross-compilation, please refer to the https://github.com/aquynh/capstone/blob/master/COMPILE.TXT file.

After Capstone is installed, ROPgadget can be used as a standalone tool:

$ ROPgadget.py

Or installed into the Python site-packages library, and executed from $PATH.

$ python setup.py install
$ ROPgadget

Or installed from PyPi

$ pip install ropgadget
$ ROPgadget


#####

https://github.com/JonathanSalwan/ROPgadget/


'MEMO' 카테고리의 다른 글

strace 바이너리 모음  (0) 2016.06.25
ARM gdb-peda 설치  (0) 2016.04.01
hping3  (0) 2016.03.26
14.04에서 rtl8188cus 모듈 컴파일 하기  (0) 2016.03.23
Ubuntu 14 버전에서 peda 설치 에러  (0) 2016.03.21
Posted by goldpapa
,