snippetbashTip
ROPgadget — Find ROP gadgets in binary files. More information: <https://github.com/JonathanSalwan/ROPgadget#usa
Viewed 0 times
ropgadgetsropgadgetcommandfilesfindclibinary
Problem
How to use the
ROPgadget command: Find ROP gadgets in binary files. More information: <https://github.com/JonathanSalwan/ROPgadget#usage>.Solution
ROPgadget — Find ROP gadgets in binary files. More information: <https://github.com/JonathanSalwan/ROPgadget#usage>.List gadgets in the binary file:
ROPgadget --binary {{path/to/binary}}Filter gadgets in the binary file by a
regex:ROPgadget --binary {{path/to/binary}} --re {{regex}}List gadgets in the binary file, excluding specified type:
ROPgadget --binary {{path/to/binary}} --{{norop|nojob|nosys}}Exclude bad byte gadgets in the binary file:
ROPgadget --binary {{path/to/binary}} --badbytes {{byte_string}}List gadgets up to the specified number of bytes in the binary file:
ROPgadget --binary {{path/to/binary}} --depth {{nbyte}}Code Snippets
List gadgets in the binary file
ROPgadget --binary {{path/to/binary}}Filter gadgets in the binary file by a `regex`
ROPgadget --binary {{path/to/binary}} --re {{regex}}List gadgets in the binary file, excluding specified type
ROPgadget --binary {{path/to/binary}} --{{norop|nojob|nosys}}Exclude bad byte gadgets in the binary file
ROPgadget --binary {{path/to/binary}} --badbytes {{byte_string}}List gadgets up to the specified number of bytes in the binary file
ROPgadget --binary {{path/to/binary}} --depth {{nbyte}}Context
tldr-pages: common/ROPgadget
Revisions (0)
No revisions yet.