mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
committed by
Sebastian Kinne
parent
b82ccd12b1
commit
cb706bcacc
@@ -1,30 +1,40 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Title: Infinite Control
|
# Title: Infinite Control
|
||||||
# Author: Didier Stevens (https://DidierStevens.com)
|
# Author: Didier Stevens (https://DidierStevens.com)
|
||||||
# Version: 0.0.1 2017/04/08
|
# Version: 0.0.2 2017/09/02
|
||||||
|
# History: 0.0.1 2017/04/08 start
|
||||||
|
# 0.0.2 2017/09/02 changed LED colors, added BREAK
|
||||||
#
|
#
|
||||||
# Hit the CONTROL key every 10 seconds in an infinite loop,
|
# Hit the CONTROL key every 10 seconds in an infinite loop,
|
||||||
# while blinking the red LED with every keypress.
|
# while blinking the CYAN LED with every keypress.
|
||||||
#
|
#
|
||||||
# Can be used to prevent a machine from sleeping or auto-locking.
|
# Can be used to prevent a machine from sleeping or auto-locking.
|
||||||
#
|
#
|
||||||
|
# Some users have suggested to hit F15 (BREAK) in stead of CTRL.
|
||||||
|
# This can be done by uncommenting line #INFINITE_KEY=BREAK.
|
||||||
|
#
|
||||||
# WARNING: Do not type on the machine's keyboard while this script
|
# WARNING: Do not type on the machine's keyboard while this script
|
||||||
# is running, or your keystrokes might become commands,
|
# is running, or your keystrokes might become commands,
|
||||||
# for example CTRL-Q: Quit
|
# for example CTRL-Q: Quit
|
||||||
#
|
#
|
||||||
# Red ...............Hitting CONTROL key
|
# Cyan ..............Hitting CONTROL key
|
||||||
|
# Yellow Blinking ...Sleeping
|
||||||
# Red Blinking.......Wow! We broke out of the infinite while loop!
|
# Red Blinking.......Wow! We broke out of the infinite while loop!
|
||||||
|
|
||||||
ATTACKMODE HID
|
ATTACKMODE HID
|
||||||
|
|
||||||
|
INFINITE_KEY=CTRL
|
||||||
|
#INFINITE_KEY=BREAK
|
||||||
|
|
||||||
# infinite while loop
|
# infinite while loop
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
LED R
|
LED SPECIAL
|
||||||
QUACK CTRL
|
QUACK $INFINITE_KEY
|
||||||
LED
|
sleep 1
|
||||||
sleep 10
|
LED ATTACK
|
||||||
|
sleep 9
|
||||||
done
|
done
|
||||||
|
|
||||||
# this code will never be reached
|
# this code will never be reached
|
||||||
LED R 100
|
LED FAIL
|
||||||
|
|||||||
Reference in New Issue
Block a user