mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 10:00:41 +00:00
Update cheatsheets
This commit is contained in:
33
radare2
Normal file
33
radare2
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# radare2
|
||||
|
||||
> A set of reverse engineering tools.
|
||||
> More information: <https://www.radare.org/r/docs.html>.
|
||||
|
||||
- Open a file in write mode without parsing the file format headers:
|
||||
|
||||
`radare2 -nw {{path/to/binary}}`
|
||||
|
||||
- Debug a program:
|
||||
|
||||
`radare2 -d {{path/to/binary}}`
|
||||
|
||||
- Run a script before entering the interactive CLI:
|
||||
|
||||
`radare2 -i {{path/to/script.r2}} {{path/to/binary}}`
|
||||
|
||||
- Display help text for any command in the interactive CLI:
|
||||
|
||||
`> {{radare2_command}}?`
|
||||
|
||||
- Run a shell command from the interactive CLI:
|
||||
|
||||
`> !{{shell_command}}`
|
||||
|
||||
- Dump raw bytes of current block to a file:
|
||||
|
||||
`> pr > {{path/to/file.bin}}`
|
||||
Reference in New Issue
Block a user