inspect

Description

Formerly a part of the output module, inspect is now a standalone module. There are more features planned for future releases.

Inspect is used to analyze binary files like shellcodes.

Command

shencode core inspect [-h] [-i INPUT] [-b INT] [-hl HIGHLIGHT] [-e EXPORT] [-r RANGE RANGE] [-d]
 
Inspect binary files
 
options:
  -h, --help           show this help message and exit
  -i, --input          Input file or buffer for formatted output
 
formatting:
  -b, --bytes-per-row  Define how many bytes per row will be displayed
  -hl, --highlight     Highlights bytes
  -e, --export         Save table as html file
  -r, --range          Set a range of bytes to output: <start> <end>
  -d, --decimal        Output decimal offsets instead of hex

Example Output

[MOD-INSPECT]-[0.9.0]
[*] loading input file
[*] generating output
┏━━━━━━━━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┓
┃ Offset(h) ┃ 0001020304050607
┡━━━━━━━━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━┩
00000000: │ 624f61 │    │    │    │    │    │
└───────────┴────┴────┴────┴────┴────┴────┴────┴────┘
[+] Done!

JSON Parameter

ArgumentsValuesType
inputfilenamestr
bytes_per_rowIntegerint
decimaltrue, falsebool
exportfilenamestr
highlighthighlight_valuestr
rangestart_byte end_bytelist