From 3e901f4bb91d7f6c70fb3a77ca6c35f4c0363594 Mon Sep 17 00:00:00 2001 From: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com> Date: Thu, 1 Sep 2022 00:34:04 -0700 Subject: [PATCH] Uses PowerShell to turn up volume and speak --- BadUSB/Hey_Everybody.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 BadUSB/Hey_Everybody.txt diff --git a/BadUSB/Hey_Everybody.txt b/BadUSB/Hey_Everybody.txt new file mode 100644 index 00000000..ae82d68d --- /dev/null +++ b/BadUSB/Hey_Everybody.txt @@ -0,0 +1,16 @@ +REM Author: UberGuidoZ +REM Description: Turns up the volume then speaks. +REM Originally designed for an OMG cable, change the text in the last line to suit. +DELAY 2000 +GUI r +DELAY 500 +STRING powershell +ENTER +DELAY 1000 +STRING $key=[Math]::Ceiling(100/2);$obj=New-Object -ComObject WScript.Shell;for($i=0;$i -lt $key;$i++){$obj.SendKeys([char] 175)} +ENTER +DELAY 250 +STRING $sp=New-Object -ComObject SAPI.SpVoice +ENTER +DELAY 250 +STRING $sp.Speak("Hey everybody! I plugged in something I should not have.") \ No newline at end of file