ROPgadget

Search binaries for ROP gadgets.

KaliParrotpassive

pkg: ropgadget

ROPgadget finds gadgets and can auto-build simple ROP chains for exploit development.

Syntax

ROPgadget --binary {bin}

Example

ROPgadget --binary ./vuln --ropchain

Lists gadgets and attempts to assemble a ROP chain.

Advantages
  • Auto ROP-chain generation
  • Multi-arch
Disadvantages
  • Exploit-dev knowledge needed
  • Niche
Tags
#rop#exploit-dev

Official docs: ROPgadget

Related commands

Frequently asked questions

What is ROPgadget used for?
ROPgadget finds gadgets and can auto-build simple ROP chains for exploit development.
What is an example ROPgadget command?
A common example is: ROPgadget --binary ./vuln --ropchain — Lists gadgets and attempts to assemble a ROP chain.
Is ROPgadget part of Kali Linux?
Yes. ROPgadget ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install ropgadget.
What category of security tool is ROPgadget?
ROPgadget is a Reverse Engineering tool with a passive-risk profile when run against a live target.

Try recon tools live

Run real scans against a domain you control, stage by stage.

Open the lab →