Skip to content

Commit

Permalink
Data update 2023-09-01 12-18-35
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Sep 1, 2023
1 parent d5a9b35 commit 90dfc33
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 1 deletion.
34 changes: 34 additions & 0 deletions docs/en/common/ropgadget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: page
title: common/ropgadget (English)
description: "Find ROP gadgets in binary files."
content_hash: fbd34a3912d44e8002d3765093175e390e247acb
last_modified_at: 2023-09-01
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># ROPgadget

Find ROP gadgets in binary files.
More information: <https://github.com/JonathanSalwan/ROPgadget>.

- List gadgets in the binary file:

`ROPgadget --binary `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>

- Filter gadgets in the binary file by a regular expression:

`ROPgadget --binary `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --re `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">regex</span>

- List gadgets in the binary file, excluding specified type:

`ROPgadget --binary `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">norop|nojob|nosys</span>

- Exclude bad byte gadgets in the binary file:

`ROPgadget --binary `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --badbytes `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">byte_string</span>

- List gadgets up to the specified number of bytes in the binary file:

`ROPgadget --binary `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --depth `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">nbyte</span>
34 changes: 34 additions & 0 deletions docs/en/common/ropper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: page
title: common/ropper (English)
description: "Find ROP gadgets in binary files."
content_hash: ebb74184ab8639d58277ddfbb4f3c17241c8a863
last_modified_at: 2023-09-01
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># ropper

Find ROP gadgets in binary files.
More information: <http://scoding.de/ropper/>.

- List gadgets in the binary file:

`ropper --file `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>

- Filter gadgets in the binary file by a regular expression:

`ropper --file `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --search `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">regex</span>

- List gadgets of specified type in the binary file:

`ropper --file `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --type `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">rop|job|sys|all</span>

- Exclude bad byte gadgets in the binary file:

`ropper --file `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --badbytes `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">byte_string</span>

- List gadgets up to the specified instruction count in the binary file:

`ropper --file `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/binary</span>` --inst-count `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">count</span>
2 changes: 1 addition & 1 deletion source

0 comments on commit 90dfc33

Please sign in to comment.