Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-01 00:23:42 +00:00
parent 3495c8ec38
commit 04a3194487
3 changed files with 15 additions and 11 deletions

View File

@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Extract files from a binary, specifying the output directory:
`binwalk --extract --directory {{output_directory}} {{path/to/binary}}`
`binwalk {{[-e|--extract]}} {{[-C|--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}}`
`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{path/to/binary}}`
- Extract files from a binary with the specified file signature:
`binwalk --dd '{{png image:png}}' {{path/to/binary}}`
`binwalk {{[-D|--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}}`
`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{path/to/binary}}`
- Combine entropy, signature and opcodes analysis in a single command:
`binwalk --entropy --signature --opcodes {{path/to/binary}}`
`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{path/to/binary}}`