From 288d90c60ea1346287dc7205bcc874e6c4f1310f Mon Sep 17 00:00:00 2001 From: Didier Stevens Date: Mon, 10 Apr 2017 04:31:31 +0200 Subject: [PATCH] Added InfiniteControl payload (#157) Hit the CONTROL key every 10 seconds in an infinite loop, while blinking the red LED with every keypress. --- payloads/library/InfiniteControl/payload.txt | 30 ++++++++++++++++++++ payloads/library/InfiniteControl/readme.md | 17 +++++++++++ 2 files changed, 47 insertions(+) create mode 100644 payloads/library/InfiniteControl/payload.txt create mode 100644 payloads/library/InfiniteControl/readme.md diff --git a/payloads/library/InfiniteControl/payload.txt b/payloads/library/InfiniteControl/payload.txt new file mode 100644 index 00000000..718dca36 --- /dev/null +++ b/payloads/library/InfiniteControl/payload.txt @@ -0,0 +1,30 @@ +#!/bin/bash +# Title: Infinite Control +# Author: Didier Stevens (https://DidierStevens.com) +# Version: 0.0.1 2017/04/08 +# +# Hit the CONTROL key every 10 seconds in an infinite loop, +# while blinking the red LED with every keypress. +# +# Can be used to prevent a machine from sleeping or auto-locking. +# +# 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 +# Red Blinking.......Wow! We broke out of the infinite while loop! + +ATTACKMODE HID + +# infinite while loop +while true +do + LED R + QUACK CTRL + LED + sleep 10 +done + +# this code will never be reached +LED R 100 diff --git a/payloads/library/InfiniteControl/readme.md b/payloads/library/InfiniteControl/readme.md new file mode 100644 index 00000000..fa8204c2 --- /dev/null +++ b/payloads/library/InfiniteControl/readme.md @@ -0,0 +1,17 @@ +# Infinite Control For Bash Bunny + +Author: Didier Stevens + +Version: Version 0.0.1 + +## Description + +Hit the CONTROL key every 10 seconds in an infinite loop, while blinking the red LED with every keypress. + +## STATUS + +| LED | Status | +| ---------------- | ------------------------------------- | +| Red flash | CONTROL keypress | + +