Comment on page
The SERIAL_WRITE Command
SERIAL_WRITEcommand will write any following text to the serial console. This is useful for adding meaningful output to a payload.
The ACTIVATE command was introduced with firmware 1.2.0 on the Shark Jack Cable.
Add output to a payload with the following:
# Scan network
SERIAL_WRITE [*] Starting nmap scan...
nmap $NMAP_OPTIONS $SUBNET -oN $LOOT_DIR/nmap-scan_$COUNT.txt
SERIAL_WRITEcommand will parse any variables, much like the
root@shark:~# SERIAL_WRITE $DATE
Tue Aug 24 00:26:55 UTC 2021
Last modified 2yr ago