mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Updated SingleSecondShell for Bash Bunny v1.1 (#179)
This commit is contained in:
parent
2d651c75f0
commit
7c1a4a30f2
@ -1,18 +1,17 @@
|
||||
LED G
|
||||
LED SETUP
|
||||
ATTACKMODE HID STORAGE
|
||||
|
||||
# Set your language here
|
||||
LANGUAGE='us'
|
||||
|
||||
LED R G
|
||||
# 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
|
||||
QUACK ${SWITCH_POSITION}/ducky_script.txt
|
||||
LED G
|
||||
LED FINISH
|
||||
else
|
||||
LED R
|
||||
LED FAIL
|
||||
echo "Unable to load ducky_script.txt" >> /root/debuglog.txt
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user