Skip to content

Commit

Permalink
[+] README
Browse files Browse the repository at this point in the history
  • Loading branch information
aleff-github committed Oct 5, 2024
1 parent 157a2c7 commit ba031ee
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
24 changes: 24 additions & 0 deletions Windows/Execution/Immediate_Shutdown-By_NexusWannaBe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Immediate Shutdown - By NexusWannaBe

This DuckyScript, created by NexusWannaBe, is designed to **immediately shut down** a Windows system upon inserting a Rubber Ducky or any compatible DuckyScript device. The script opens the **cmd** terminal and issues a shutdown command with no delay, causing the system to shut down immediately.

## How it works

The script follows these steps:
1. Waits for 1 second (`DELAY 1000`).
2. Uses the **Windows + R** shortcut to open the "Run" dialog.
3. Types `cmd` to open the command prompt.
4. Waits half a second and presses **Enter**.
5. Once the terminal is open, it types `shutdown /s /f /t 0`, which forces an immediate shutdown with zero delay.
6. The system shuts down immediately without further input.

### Shutdown command:
- `shutdown /s /f /t 0`: forces an immediate shutdown of Windows, closing all running applications without warning or delay.
- `/s`: initiates the shutdown.
- `/f`: forces running applications to close.
- `/t 0`: sets the shutdown timer to zero, making it instantaneous.

## Warnings

- **Use with caution!** This script shuts down the system instantly, with no chance to save open files or processes.
- This script is for educational purposes and should only be used legally and with permission from the system owner.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
REM Developer: NexusWannaBe
REM Title: Immediate Shutdown
REM Developer: NexusWannaBe

DELAY 1000
GUI r
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Shutdown After 1 Minute - By NexusWannaBe

This DuckyScript, created by NexusWannaBe, is designed to force a Windows system shutdown after one minute from the insertion of your Flipper Zero or any compatible DuckyScript device. The script opens the **cmd** terminal and sends the shutdown command to the system.

## How it works

The script performs the following steps:
1. Waits for 1 second (`DELAY 1000`).
2. Uses the **Windows + R** combination to open the "Run" dialog.
3. Types `cmd` to open the command prompt.
4. Waits for half a second and then presses **Enter**.
5. Once the terminal is open, it types the command `shutdown /s /f && exit`, which forces the computer to shut down and closes the terminal.
6. Confirms the shutdown by pressing **Enter**. The system will shut down within 60 seconds.

### Shutdown command:
- `shutdown /s /f`: forces an immediate shutdown of Windows, closing all running applications without warning.
- `&& exit`: closes the terminal after issuing the shutdown command.

## Warnings

- **Use this script responsibly!** Forcing a shutdown can result in data loss if files are not saved.
- This script is intended for educational purposes only and should only be used with permission from the owner of the device and in compliance with the law.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
REM Developer: NexusWannaBe
REM Title: Shutdown After 1 Minute
REM Developer: NexusWannaBe

DELAY 1000
GUI r
Expand Down

0 comments on commit ba031ee

Please sign in to comment.