mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 14:30:21 +00:00
Uses PowerShell to turn up volume and speak
This commit is contained in:
parent
608e38169f
commit
3e901f4bb9
16
BadUSB/Hey_Everybody.txt
Normal file
16
BadUSB/Hey_Everybody.txt
Normal 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.")
|
Loading…
Reference in New Issue
Block a user