From e567936209dbdd617e88208b56d17989b65cfcf9 Mon Sep 17 00:00:00 2001 From: Johan Degn <54548365+johandegn@users.noreply.github.com> Date: Fri, 1 Sep 2023 13:36:13 +0200 Subject: [PATCH] ROPgadget: add page (#10640) Co-authored-by: K.B.Dharun Krishna --- pages/common/ropgadget.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/ropgadget.md diff --git a/pages/common/ropgadget.md b/pages/common/ropgadget.md new file mode 100644 index 000000000..97b76a760 --- /dev/null +++ b/pages/common/ropgadget.md @@ -0,0 +1,24 @@ +# ROPgadget + +> Find ROP gadgets in binary files. +> More information: . + +- List gadgets in the binary file: + +`ROPgadget --binary {{path/to/binary}}` + +- Filter gadgets in the binary file by a regular expression: + +`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}}`