This is just a quick guide for usefull commands. For more details see the offical Wiki or community forums on Hak5
Valid Attack Modes
- SERIAL - Serial ACM TTY
- HID - Keystroke Injection
- STORAGE - USB Mass Storage Device
- ECM_ETHERNET - USB Ethernet for Nix/Mac/ Android
- RNDIS_ETHERNET - USB Ethernet for Windows
LED's
You can control the LED Color and blink rate at any time during the execution of payload.txt or install.sh
To set the LED use the syntax LED R|G|B T
Examples
LED R 1000 will set the LED to Red and blink every second.
LED R B 0 will set the LED to a Solid Purple
All Colour Combinations
- R - Red
- G - Green
- B -Blue
- R G - Yellow
- R B - Magenta
- B G - Cyan
- R G B - White
To turn the LED off just use LED with no Colour codes or blink time
QUACK
QUACK is used in HID mode to inject keystrokes. It can take raw ducky text or a file path relative to /payloads/
Some examples
QUACK STRING Hello - inject keys inline
QUACK $SWITCH_POSTION/ducky_Script.txt - Inject keys from file
Bunny Helpers
The following Variables are available to you in payload.txt and other bash files if you source bunny_helpers.sh
$TARGET_IP - IP Address of the Computer your plugged in to
$TARGET_HOSTNAME - Hostname of the Computer your plugged in to
$HOST_IP - IP Address of the Bunny (172.16.64.1)
$SWITCH_POSITION - The current bunny switch position. (You must update bunny helpers.sh)
Please make sure you update your payloads library to get the latest helpers
Bash Commands
Some useful Bash Commands
Powershell Commands
Some useful Powershell Commands