Added Single Character Quacker payload

pull/427/head
Darren Kitchen 2020-12-17 18:21:24 -08:00 committed by GitHub
parent 3904f165d9
commit 5b234069f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# Title: Single Character Quacker
# Description: Injects keystrokes from $string one character at a time
# Author: Hak5Darren
# Version: 1.0
LED SETUP
ATTACKMODE HID VID_0X062A PID_0X4101
sleep 15
LED ATTACK
string="the quick brown fox jumped over the lazy dog 1234567890"
i=1
while true; do
Q DELAY 20000
while read -n1 chr; do [[ "$chr" == "" ]] && QUACK "SPACE" || QUACK "$chr"; done < <(echo -n "$string")
((i=i+1))
done