From cb706bcaccb44924160afe5bf28e42b80598e2a8 Mon Sep 17 00:00:00 2001 From: Didier Stevens Date: Fri, 8 Sep 2017 01:17:44 +0200 Subject: [PATCH] New version of InfiniteControl (#243) Changed LED colors, added BREAK. --- .../general/InfiniteControl/payload.txt | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/payloads/library/general/InfiniteControl/payload.txt b/payloads/library/general/InfiniteControl/payload.txt index 718dca36..d35fc3ce 100644 --- a/payloads/library/general/InfiniteControl/payload.txt +++ b/payloads/library/general/InfiniteControl/payload.txt @@ -1,30 +1,40 @@ #!/bin/bash # Title: Infinite Control # 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, -# 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. # +# 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 # is running, or your keystrokes might become commands, # 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! ATTACKMODE HID +INFINITE_KEY=CTRL +#INFINITE_KEY=BREAK + # infinite while loop while true do - LED R - QUACK CTRL - LED - sleep 10 + LED SPECIAL + QUACK $INFINITE_KEY + sleep 1 + LED ATTACK + sleep 9 done # this code will never be reached -LED R 100 +LED FAIL