LinuxCommandLibrary

ropper

Find ROP gadgets in binary files.

TLDR

List gadgets in the binary file

$ ropper --file [path/to/binary]
copy


Filter gadgets in the binary file by a regular expression
$ ropper --file [path/to/binary] --search [regex]
copy


List gadgets of specified type in the binary file
$ ropper --file [path/to/binary] --type [rop|job|sys|all]
copy


Exclude bad byte gadgets in the binary file
$ ropper --file [path/to/binary] --badbytes [byte_string]
copy


List gadgets up to the specified instruction count in the binary file
$ ropper --file [path/to/binary] --inst-count [count]
copy

Copied to clipboard