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: CATERNET
# Description: DNS Spoofs the Internet and serves up random cat photos
# Author: Hak5Darren
# Version: 1.0
# Category: Prank
# Target: Any
# Net Mode: NAT
Configurable options should be specified in variables at the top of the payload file
#!/bin/bash
# OpenVPN payload
# Set to 1 to allow clients to use the VPN
FOR_CLIENTS=0
DNS_SERVER="8.8.8.8"
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 Packet Squirrel is safe to power off.