mirror of https://github.com/hak5/omg-payloads.git
Added error correction before creating BAT file
parent
ce1fc8c6f9
commit
0d38f4788e
|
@ -5,7 +5,7 @@ REM
|
||||||
REM Description: Creates a batch file that opens a Rick Roll every 5 mins in default browser
|
REM Description: Creates a batch file that opens a Rick Roll every 5 mins in default browser
|
||||||
REM Notes: Creates batch file, starts batch file, minimizes the window
|
REM Notes: Creates batch file, starts batch file, minimizes the window
|
||||||
REM Target: Windows but fairly easily modified to work on any OS with a browser
|
REM Target: Windows but fairly easily modified to work on any OS with a browser
|
||||||
REM Version: 1.2
|
REM Version: 1.3
|
||||||
REM Category: Prank
|
REM Category: Prank
|
||||||
REM Source: https://github.com/UberGuidoZ/OMG-Payloads
|
REM Source: https://github.com/UberGuidoZ/OMG-Payloads
|
||||||
DELAY 2000
|
DELAY 2000
|
||||||
|
@ -14,6 +14,9 @@ DELAY 500
|
||||||
STRING cmd
|
STRING cmd
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 2000
|
DELAY 2000
|
||||||
|
STRING if exist rr.bat del /f /q rr.bat
|
||||||
|
ENTER
|
||||||
|
DELAY 1000
|
||||||
STRING copy con rr.bat
|
STRING copy con rr.bat
|
||||||
ENTER
|
ENTER
|
||||||
STRING @ECHO OFF
|
STRING @ECHO OFF
|
||||||
|
|
Loading…
Reference in New Issue