From 0cace23c9c23eeae4cb4fdb3697d0aee45a0e386 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 30 Mar 2020 12:39:58 +0200 Subject: [PATCH] binwalk: add page (#3943) --- pages/linux/binwalk.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/binwalk.md diff --git a/pages/linux/binwalk.md b/pages/linux/binwalk.md new file mode 100644 index 0000000000..8f59d20816 --- /dev/null +++ b/pages/linux/binwalk.md @@ -0,0 +1,28 @@ +# binwalk + +> Firmware Analysis Tool. +> More information: . + +- Scan a binary file: + +`binwalk {{path/to/binary}}` + +- Extract files from a binary, specifying the output directory: + +`binwalk --extract --directory {{output_directory}} {{path/to/binary}}` + +- Recursively extract files from a binary limiting the recursion depth to 2: + +`binwalk --extract --matryoshka --depth {{2}} {{path/to/binary}}` + +- Extract files from a binary with the specified file signature: + +`binwalk --dd '{{png image:png}}' {{path/to/binary}}` + +- Analyze the entropy of a binary, saving the plot with the same name as the binary and `.png` extension appended: + +`binwalk --entropy --save {{path/to/binary}}` + +- Combine entropy, signature and opcodes analysis in a single command: + +`binwalk --entropy --signature --opcodes {{path/to/binary}}`