mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
rabin2: add page (#1974)
This commit is contained in:
parent
5b8c7245fd
commit
d1f830f9df
1 changed files with 24 additions and 0 deletions
24
pages/common/rabin2.md
Normal file
24
pages/common/rabin2.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue