Uses PowerShell to turn up volume and speak

This commit is contained in:
UberGuidoZ 2022-09-01 00:34:04 -07:00 committed by GitHub
parent 608e38169f
commit 3e901f4bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
BadUSB/Hey_Everybody.txt Normal file
View File

@ -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.")