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 ATTACKMODE HID STORAGE
# Set your language here # Set your language here
LANGUAGE='us' LANGUAGE='us'
LED R G GET SWITCH_POSITION
# Check for switch position to make it easier for us.
source bunny_helpers.sh
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