Updated SingleSecondShell for Bash Bunny v1.1 (#179)

This commit is contained in:
0xCoto 2017-04-16 11:15:38 +03:00 committed by Sebastian Kinne
parent 2d651c75f0
commit 7c1a4a30f2

View File

@ -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