mirror of https://github.com/CrimsonTome/tldr.git
25 lines
544 B
Markdown
25 lines
544 B
Markdown
|
# rabin2
|
||
|
|
||
|
> Get information about binary files (ELF, PE, Java CLASS, Mach-O) - symbols, sections, linked libraries, etc.
|
||
|
> Comes bundled with `radare2`.
|
||
|
|
||
|
- Display general information about a binary (architecture, type, endianness):
|
||
|
|
||
|
`rabin2 -I {{path/to/binary}}`
|
||
|
|
||
|
- Display linked libraries:
|
||
|
|
||
|
`rabin2 -l {{path/to/binary}}`
|
||
|
|
||
|
- Display symbols imported from libraries:
|
||
|
|
||
|
`rabin2 -i {{path/to/binary}}`
|
||
|
|
||
|
- Display strings contained in the binary:
|
||
|
|
||
|
`rabin2 -z {{path/to/binary}}`
|
||
|
|
||
|
- Display the output in JSON:
|
||
|
|
||
|
`rabin2 -j -I {{path/to/binary}}`
|