Merge 22cff3280c
into ba7be0935f
This commit is contained in:
commit
25001562a3
|
@ -0,0 +1,30 @@
|
||||||
|
//NOTE: This is meant to be used on Linux machines
|
||||||
|
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
pinMode(0, OUTPUT); //LED on Model B
|
||||||
|
pinMode(1, OUTPUT); //LED on Model A
|
||||||
|
DigiKeyboard.sendKeyStroke(0);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
DigiKeyboard.delay(1250);
|
||||||
|
DigiKeyboard.println("cd Downloads");
|
||||||
|
DigiKeyboard.delay(100);
|
||||||
|
DigiKeyboard.println("nano passwd.txt");
|
||||||
|
DigiKeyboard.delay(100);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
digitalWrite(0, HIGH); // turn the LED on (HIGH is the voltage level)
|
||||||
|
digitalWrite(1, HIGH);
|
||||||
|
char passwd[12];
|
||||||
|
for(int x=0; x<12; x++) passwd[x]=random(33, 127);
|
||||||
|
DigiKeyboard.println(String(passwd));
|
||||||
|
DigiKeyboard.delay(50);
|
||||||
|
digitalWrite(0, LOW); // turn the LED off by making the voltage LOW
|
||||||
|
digitalWrite(1, LOW);
|
||||||
|
delay(50); // wait for a second
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
// don't need to set anything up to use DigiKeyboard
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(0);
|
||||||
|
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.println("terminal");
|
||||||
|
DigiKeyboard.delay(1000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.println("ping /t google.com");
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
//DigiKeyboard.delay(5000);
|
||||||
|
}
|
|
@ -24,6 +24,14 @@ 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
|
- **WiFi_Profile_Mailer**: Writes the wireless network credentials to a csv file and emails it
|
||||||
- **Window_Jammer**: Spams ALT + F4 and CTRL + W key combos to force close all active windows
|
- **Window_Jammer**: Spams ALT + F4 and CTRL + W key combos to force close all active windows
|
||||||
|
|
||||||
|
>Wallpaper_Prank_Update : Makes all the desktop icons unclickable and indefinitely gives the appearance that Windows is updating
|
||||||
|
|
||||||
|
>Password_Generator : Uses Bash to create a list of randomly-generated passwords and save it in the user's Downloads folder
|
||||||
|
|
||||||
|
>Pinger : Opens command prompt and pings to [google.com](google.com)
|
||||||
|
|
||||||
|
>WiFi_Info_Display : Opens command prompt and displays network information using ipconfig
|
||||||
|
|
||||||
# See the scripts in action
|
# See the scripts in action
|
||||||
|
|
||||||
Click the gifs to see the full video
|
Click the gifs to see the full video
|
||||||
|
|
|
@ -0,0 +1,72 @@
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
int led = 0; // Change to pin 1 for MODEL A
|
||||||
|
int on_wait = 1000; // How long to toggle CAPS LOCK for.
|
||||||
|
int off_wait = 5000; // Delay between toggles.
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
DigiKeyboard.sendKeyStroke(0);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_D, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(70, MOD_ALT_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.print("mspaint");
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
DigiKeyboard.delay(800);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_V, MOD_CONTROL_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_S, MOD_CONTROL_LEFT);
|
||||||
|
DigiKeyboard.delay(600);
|
||||||
|
DigiKeyboard.print("%USERPROFILE%\\wall.jpg");
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
DigiKeyboard.delay(600);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F, MOD_ALT_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_K);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F, MOD_ALT_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_X);
|
||||||
|
DigiKeyboard.delay(600);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_D, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F10, MOD_SHIFT_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_V);
|
||||||
|
DigiKeyboard.delay(200);
|
||||||
|
DigiKeyboard.sendKeyStroke(81);
|
||||||
|
DigiKeyboard.delay(200);
|
||||||
|
DigiKeyboard.sendKeyStroke(81);
|
||||||
|
DigiKeyboard.delay(200);
|
||||||
|
DigiKeyboard.sendKeyStroke(81);
|
||||||
|
DigiKeyboard.delay(200);
|
||||||
|
DigiKeyboard.sendKeyStroke(81);
|
||||||
|
DigiKeyboard.delay(200);
|
||||||
|
DigiKeyboard.sendKeyStroke(81);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(3000);
|
||||||
|
DigiKeyboard.print("http://fakeupdate.net/win10u/index.html");
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
DigiKeyboard.delay(2000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_F11);
|
||||||
|
|
||||||
|
pinMode(led, OUTPUT);
|
||||||
|
DigiKeyboard.update();
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(57);
|
||||||
|
digitalWrite(led, 1);
|
||||||
|
delay(on_wait);
|
||||||
|
DigiKeyboard.sendKeyStroke(57);
|
||||||
|
digitalWrite(led, 0);
|
||||||
|
delay(off_wait);
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
#include "DigiKeyboard.h"
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
// don't need to set anything up to use DigiKeyboard
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
DigiKeyboard.sendKeyStroke(0);
|
||||||
|
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.println("cmd");
|
||||||
|
DigiKeyboard.delay(1000);
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
DigiKeyboard.delay(500);
|
||||||
|
DigiKeyboard.println("ipconfig");
|
||||||
|
DigiKeyboard.sendKeyStroke(KEY_ENTER);
|
||||||
|
DigiKeyboard.delay(5000);
|
||||||
|
}
|
Loading…
Reference in New Issue