mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Updated Ducky Template for firmware v1.1 (#177)
* Updated for firmware version 1.1 Updated version number. Updated LED status table. * Update Ducky Template for firmware 1.1 Updated LED statuses Updated language to DUCKY_LANG removed 'source bunny_helpers.sh' and used 'GET SWITCH_POSITION' instead. * Fix DUCKY_LANG vs. DUCK_LANG typo Fix typo pointed out by Sebkinne * Update payload.txt
This commit is contained in:
@@ -1,18 +1,19 @@
|
|||||||
LED G
|
LED SETUP
|
||||||
ATTACKMODE HID STORAGE
|
ATTACKMODE HID STORAGE
|
||||||
|
|
||||||
# Set your language here
|
# Set your language here
|
||||||
LANGUAGE='us'
|
DUCKY_LANG us
|
||||||
|
|
||||||
LED R G
|
|
||||||
# Check for switch position to make it easier for us.
|
# Check for switch position to make it easier for us.
|
||||||
source bunny_helpers.sh
|
GET SWITCH_POSITION
|
||||||
|
|
||||||
|
LED ATTACK
|
||||||
|
|
||||||
if [ -f "/root/udisk/payloads/${SWITCH_POSITION}/ducky_script.txt" ]; then
|
if [ -f "/root/udisk/payloads/${SWITCH_POSITION}/ducky_script.txt" ]; then
|
||||||
QUACK ${SWITCH_POSITION}/ducky_script.txt
|
QUACK ${SWITCH_POSITION}/ducky_script.txt
|
||||||
LED G
|
LED FINISH
|
||||||
else
|
else
|
||||||
LED R
|
LED FAIL
|
||||||
echo "Unable to load ducky_script.txt" >> /root/debuglog.txt
|
echo "Unable to load ducky_script.txt" >> /root/debuglog.txt
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Ducky Script Template for Bash Bunnys
|
# Ducky Script Template for Bash Bunnys
|
||||||
|
|
||||||
Author: @kevthehermit
|
Author: @kevthehermit
|
||||||
Version: Version 1.0
|
Version: Version 1.1
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
@@ -17,9 +17,8 @@ Install DuckToolkit payload for extra language support
|
|||||||
|
|
||||||
## STATUS
|
## STATUS
|
||||||
|
|
||||||
| LED | Status |
|
| LED | Status |
|
||||||
| ---------------- | ------------------------------------- |
|
| ------------------------------------------------ | --------------------------- |
|
||||||
| Red | Failed to open script file |
|
| Magenta solid | Setup |
|
||||||
| Amber | Script Running |
|
| Yellow single blink | Script Running (Attack) |
|
||||||
| Green | Finished |
|
| Green 1000ms VERYFAST blink followed by SOLID | Finished |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user