xd cheatsheet
I am often forgetting the command switches for static analysis tools like objdump
, xxd
and rabin2
. So these notes will server
as my quick reference cheatsheet.
objdump
Command | Description |
---|---|
objdump -M intel | Use intel syntax |
objdump -j .text | Only dump the text section |
objdump -D | Disassemble all |
objdump -h | Display an object's header info |
rabin2
Command | Description |
---|---|
rabin -z obj | Dump strings with section info |
rabin -I obj | Display general information about a binary |
rabin2 -i obj | Display imported functions/symbols |
rabin2 -l obj | Display the linked libraries |
rax2
Command | Description |
---|---|
rax2 -s 63 6f 6f 6c | hex sting to characters |
rax -S C J i l k | characters to hex string |