mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 05:00:58 +00:00
Update cheatsheets
This commit is contained in:
29
ropgadget
Normal file
29
ropgadget
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ROPgadget
|
||||
|
||||
> Find ROP gadgets in binary files.
|
||||
> More information: <https://github.com/JonathanSalwan/ROPgadget>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user