Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added RickRoll_Update and WallpaperChanger
RickRoll_Update : Plays Never Gonna Give you up while performing a fake windows update. WallpaperChanger : Downloads and applies a wallpaper via powershell.
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//This DigiSpark script opens up Rick Astley's - Never Gonna Give You Up and also a fake Windows update screen and then maximizes it using F11 | ||
#include "DigiKeyboard.h" | ||
void setup() { | ||
//empty | ||
} | ||
void loop() { | ||
DigiKeyboard.delay(2000); | ||
DigiKeyboard.sendKeyStroke(0); | ||
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); | ||
DigiKeyboard.delay(600); | ||
DigiKeyboard.print("https://youtu.be/dQw4w9WgXcQ?t=43s"); | ||
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); | ||
for(;;){ /*empty*/ } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
//This DigiKeyboard Script downloads and sets a wallpaper through the Windows PowerShell. It has been tested successfully on Windows 10 | ||
//and should probably work with Windows 7/8/8.1 etc. | ||
|
||
#include "DigiKeyboard.h" | ||
void setup() { | ||
//empty | ||
} | ||
void loop() { | ||
DigiKeyboard.sendKeyStroke(0); | ||
DigiKeyboard.sendKeyStroke(KEY_D, MOD_GUI_LEFT); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.print("powershell"); | ||
DigiKeyboard.sendKeyStroke(KEY_ENTER); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.print("$client = new-object System.Net.WebClient"); | ||
DigiKeyboard.sendKeyStroke(KEY_ENTER); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.print("$client.DownloadFile(\"https://tr3.cbsistatic.com/hub/i/2014/05/15/f8964afd-bd82-4e0e-bcbe-e927363dcdc1/3b858e39e2cf183b878f54cad0073a67/codedoge.jpg\" , \"doge.jpg\")"); | ||
DigiKeyboard.sendKeyStroke(KEY_ENTER); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.print("reg add \"HKCU\\Control Panel\\Desktop\" /v WallPaper /d \"%USERPROFILE%\\doge.jpg\" /f"); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.sendKeyStroke(KEY_ENTER); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.print("RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True"); | ||
DigiKeyboard.sendKeyStroke(KEY_ENTER); | ||
DigiKeyboard.delay(500); | ||
DigiKeyboard.print("exit"); | ||
DigiKeyboard.sendKeyStroke(KEY_ENTER); | ||
for(;;){ /*empty*/ } | ||
} |