mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 11:35:24 +02:00
binwalk: add short options (#17035)
This commit is contained in:
parent
67bffb580d
commit
41cae50c80
5 changed files with 25 additions and 25 deletions
|
@ -9,20 +9,20 @@
|
|||
|
||||
- Estrae file da un binario, specificando la directory di output:
|
||||
|
||||
`binwalk --extract --directory {{directory_di_output}} {{percorso/del/file}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{directory_di_output}} {{percorso/del/file}}`
|
||||
|
||||
- Estrae file in maniera ricorsiva a partire da un binario, limitando la profondità di ricorsione a 2 livelli:
|
||||
|
||||
`binwalk --extract --matryoshka --depth {{2}} {{percorso/del/file}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{percorso/del/file}}`
|
||||
|
||||
- Estrae file da un binario utilizzando una particolare firma (ad esempio il MIME Type):
|
||||
|
||||
`binwalk --dd '{{png image:png}}' {{percorso/del/file}}`
|
||||
`binwalk {{[-D|--dd]}} '{{png image:png}}' {{percorso/del/file}}`
|
||||
|
||||
- Analizza l'entropia di un binario e salva il grafico con lo stesso filename del binario, con l'estensione `.png` in fondo:
|
||||
|
||||
`binwalk --entropy --save {{percorso/del/file}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{percorso/del/file}}`
|
||||
|
||||
- Combina analisi di entropia, firme e opcode in un unico comando:
|
||||
|
||||
`binwalk --entropy --signature --opcodes {{percorso/del/file}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{percorso/del/file}}`
|
||||
|
|
|
@ -9,20 +9,20 @@
|
|||
|
||||
- 출력 디렉터리를 지정하여 바이너리에서 파일을 추출:
|
||||
|
||||
`binwalk --extract --directory {{출력_디렉토리}} {{경로/대상/바이너리}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{출력_디렉토리}} {{경로/대상/바이너리}}`
|
||||
|
||||
- 재귀 깊이를 2로 제한하는 바이너리에서 파일을 재귀적으로 추출:
|
||||
|
||||
`binwalk --extract --matryoshka --depth {{2}} {{경로/대상/바이너리}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{경로/대상/바이너리}}`
|
||||
|
||||
- 지정된 파일 서명을 사용하여 바이너리에서 파일을 추출:
|
||||
|
||||
`binwalk --dd '{{png image:png}}' {{경로/대상/바이너리}}`
|
||||
`binwalk {{[-D|--dd]}} '{{png image:png}}' {{경로/대상/바이너리}}`
|
||||
|
||||
- 바이너리의 엔트로피를 분석하여, 바이너리와 동일한 이름과 `.png` 확장자를 추가하여 플롯을 저장:
|
||||
|
||||
`binwalk --entropy --save {{경로/대상/바이너리}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{경로/대상/바이너리}}`
|
||||
|
||||
- 엔트로피, 서명 및 opcode 분석을 단일 명령으로 결합:
|
||||
|
||||
`binwalk --entropy --signature --opcodes {{경로/대상/바이너리}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{경로/대상/바이너리}}`
|
||||
|
|
|
@ -9,20 +9,20 @@
|
|||
|
||||
- Extrai arquivos de um binário, especificando a saída do diretório:
|
||||
|
||||
`binwalk --extract --directory {{diretório_do_destino}} {{caminho/para/binário}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{diretório_do_destino}} {{caminho/para/binário}}`
|
||||
|
||||
- Extrai recursivamente arquivos de um binário limitando a profundidade da recursão para 2:
|
||||
|
||||
`binwalk --extract --matryoshka --depth {{2}} {{caminho/para/binário}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{caminho/para/binário}}`
|
||||
|
||||
- Extrai arquivos de um binário com uma assinatura específica:
|
||||
|
||||
`binwalk --dd '{{png image:png}}' {{caminho/para/binário}}`
|
||||
`binwalk {{[-D|--dd]}} '{{png image:png}}' {{caminho/para/binário}}`
|
||||
|
||||
- Analisa a entropia de um binário, salvando o gráfico com o mesmo nome que o binário e a extensão `.png`:
|
||||
|
||||
`binwalk --entropy --save {{caminho/para/binário}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{caminho/para/binário}}`
|
||||
|
||||
- Combina entropia, assinatura e análise dos código de operações em um comando só:
|
||||
|
||||
`binwalk --entropy --signature --opcodes {{caminho/para/binário}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{caminho/para/binário}}`
|
||||
|
|
|
@ -9,20 +9,20 @@
|
|||
|
||||
- 解压一个二进制文件并指定输出目录:
|
||||
|
||||
`binwalk --extract --directory {{输出目录}} {{二进制文件}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-C|--directory]}} {{输出目录}} {{二进制文件}}`
|
||||
|
||||
- 递归解压一个二进制文件并限制递归深度为 2:
|
||||
|
||||
`binwalk --extract --matryoshka --depth {{2}} {{二进制文件}}`
|
||||
`binwalk {{[-e|--extract]}} {{[-M|--matryoshka]}} {{[-d|--depth]}} {{2}} {{二进制文件}}`
|
||||
|
||||
- 解压一个二进制文件并指定文件签名:
|
||||
|
||||
`binwalk --dd '{{png image:png}}' {{二进制文件}}`
|
||||
`binwalk {{[-D|--dd]}} '{{png image:png}}' {{二进制文件}}`
|
||||
|
||||
- 分析一个二进制文件的熵,用与文件相同的名字和 `.png` 后缀保存绘图:
|
||||
|
||||
`binwalk --entropy --save {{二进制文件}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-J|--save]}} {{二进制文件}}`
|
||||
|
||||
- 在单条命令中组合熵、签名和操作码分析:
|
||||
|
||||
`binwalk --entropy --signature --opcodes {{二进制文件}}`
|
||||
`binwalk {{[-E|--entropy]}} {{[-B|--signature]}} {{[-A|--opcodes]}} {{二进制文件}}`
|
||||
|
|
|
@ -9,20 +9,20 @@
|
|||
|
||||
- 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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue