Payloads should begin with comments specifying the name of the payload, a description, the author(s), any special requirements, the intended target, category, netmodes and the LED status.
# Title: IPInfo # Description: Gathers internal and public IP address info # Author: Hak5Darren # Version: 1.0 # Category: Recon
LED indications should be documented at the top of the payload file
# LED SETUP (Magenta)... Setting logs and waiting for IP address from DHCP
# LED ATTACK (Yellow Blink)... Saving IP address information
# LED FAIL (Red Blink)... Failed to gather public IP address
# LED SPECIAL (Cyan Blink)... Exfiltrating log to Cloud C2
# LED FINISH (Green Fast Blink to Solid)... Payload successful
Configurable options should be specified in variables at the top of the payload file
LED should use common payload states rather than unique color/pattern combinations when possible. The LED command should precede the NETMODE command for any given stage. Common payload states include a SETUP, with may include a FAIL if certain conditions are not met.
When the payload has FINISHed, the Shark Jack is safe to power off.