From ec7a7bb251e47bf77ba313941252ddfb6d356e93 Mon Sep 17 00:00:00 2001 From: Patrick Kuehn Date: Wed, 23 Oct 2019 02:20:35 +0200 Subject: [PATCH] radare2: add page (#3433) --- pages/common/radare2.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/radare2.md diff --git a/pages/common/radare2.md b/pages/common/radare2.md new file mode 100644 index 0000000000..89cb757802 --- /dev/null +++ b/pages/common/radare2.md @@ -0,0 +1,28 @@ +# radare2 + +> A set of reverse engineering tools. +> More information: . + +- 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}}` + +- Show 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}}`