mirror of
https://github.com/cheat/cheat.git
synced 2024-11-16 08:58:28 +01:00
commit
c819997844
1 changed files with 11 additions and 0 deletions
11
cheatsheets/od
Normal file
11
cheatsheets/od
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Dump file in octal format
|
||||||
|
od /path/to/binaryfile
|
||||||
|
od -o /path/to/binaryfile
|
||||||
|
od -t o2 /path/to/binaryfile
|
||||||
|
|
||||||
|
# Dump file in hexadecimal format
|
||||||
|
od -x /path/to/binaryfile
|
||||||
|
od -t x2 /path/to/binaryfile
|
||||||
|
|
||||||
|
# Dump file in hexadecimal format, with hexadecimal offsets and a space between each byte
|
||||||
|
od -A x -t x1 /path/to/binaryfile
|
Loading…
Reference in a new issue