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 hexExample Output
[MOD-INSPECT]-[0.9.0]
[*] loading input file
[*] generating output
┏━━━━━━━━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┳━━━━┓
┃ Offset(h) ┃ 00 ┃ 01 ┃ 02 ┃ 03 ┃ 04 ┃ 05 ┃ 06 ┃ 07 ┃
┡━━━━━━━━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━╇━━━━┩
│ 00000000: │ 62 │ 4f │ 61 │ │ │ │ │ │
└───────────┴────┴────┴────┴────┴────┴────┴────┴────┘
[+] Done!JSON Parameter
| Arguments | Values | Type |
|---|---|---|
| input | filename | str |
| bytes_per_row | Integer | int |
| decimal | true, false | bool |
| export | filename | str |
| highlight | highlight_value | str |
| range | start_byte end_byte | list |