Options (9)
-e, --extractbooleanExtract files from a binary, specifying the output directory
binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{output_directory}} {{path/to/binary}}-C, --directorybooleanExtract files from a binary, specifying the output directory
binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{output_directory}} {{path/to/binary}}-M, --matryoshkabooleanRecursively extract files from a binary limiting the recursion depth to 2
binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{path/to/binary}}-d, --depthbooleanRecursively extract files from a binary limiting the recursion depth to 2
binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{path/to/binary}}-D, --ddbooleanExtract files from a binary with the specified file signature
binwalk {{[-D|--dd]}} '{{png image:png}}' {{path/to/binary}}-E, --entropybooleanAnalyze the entropy of a binary, saving the plot with the same name as the binary and `.png` extension appended
binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{path/to/binary}}-J, --savebooleanAnalyze the entropy of a binary, saving the plot with the same name as the binary and `.png` extension appended
binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{path/to/binary}}-B, --signaturebooleanCombine entropy, signature, and opcodes analysis in a single command
binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{path/to/binary}}-A, --opcodesbooleanCombine entropy, signature, and opcodes analysis in a single command
binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{path/to/binary}}Examples (6)
Scan a binary file
binwalk path/to/binaryExtract files from a binary, specifying the output directory
binwalk [-e|--extract] [-C|--directory] output_directory path/to/binaryRecursively extract files from a binary limiting the recursion depth to 2
binwalk [-e|--extract] [-M|--matryoshka] [-d|--depth] 2 path/to/binaryExtract files from a binary with the specified file signature
binwalk [-D|--dd] 'png image:png' path/to/binaryAnalyze the entropy of a binary, saving the plot with the same name as the binary and `.png` extension appended
binwalk [-E|--entropy] [-J|--save] path/to/binaryCombine entropy, signature, and opcodes analysis in a single command
binwalk [-E|--entropy] [-B|--signature] [-A|--opcodes] path/to/binary