Hack Forums
Need help running alduino badusb scripts - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: Need help running alduino badusb scripts (/showthread.php?tid=5616091)



Need help running alduino badusb scripts - GameOfScripts - May 5, 2017

so pasted this script into my arduino rubber ducky software. But i keep getting error messages like:

'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?

and:

sketch_may05a:35: error: 'KEY_RETURN' was not declared in this scope

wtf help me HF?


* - THC - May 5, 2017

I think this would do better here: IoT, Embedded Systems, Electronics, Gadgets, and DIY


* - ℭorruption - May 5, 2017

Keyboard.h (and Mouse.h) only works on devices that use the ATmega32u4 processor, like the Leonardo or Micro. See: https://www.arduino.cc/en/Reference/MouseKeyboard. Keyboard.h is built into the IDE. It is not a library you install so it might be your processor, but I would suggest removing it and seeing what happens.

Spoiler (Click to View)


* - GameOfScripts - May 6, 2017

(May 5, 2017 04:54 PM)ℭorruption Wrote:  Keyboard.h (and Mouse.h) only works on devices that use the ATmega32u4 processor, like the Leonardo or Micro. See: https://www.arduino.cc/en/Reference/MouseKeyboard. Keyboard.h is built into the IDE. It is not a library you install so it might be your processor, but I would suggest removing it and seeing what happens.

Spoiler (Click to View)

thanks