mharjac / bad_ducky Goto Github PK
View Code? Open in Web Editor NEWRubber Ducky compatible clone based on CJMCU BadUSB HW.
License: MIT License
Rubber Ducky compatible clone based on CJMCU BadUSB HW.
License: MIT License
It would be nice if the bad ducky would also support USB Mass Storage like the Rubber Ducky does.
By that you would be able to write files onto the sd card while executing payloads with keystrokes.
Is there a way to integrate this?
Hello, I would like to know how to use bad_ducky in order to work with abnt2 characters, portuguese brazil(pt-br), I can run the loads more exits too much character exchanged due to not working as keyboard abnt2, have any way to solve this problem?
Can it work as a Twin Duck? I mean that scenario: Bad Ducky primarily acts as a USB Mass Storage Device, and on a buttons combination will start emulating a Keyboard. Is it possible?
Someone know how to execute an script and store the result on sd card?
I cannot upload the sketch, just after it startet uploading, the device disconnects and blink rapidly. Nothing more happens in this state, but I get an error in the Arduino IDE, that no board could be found. Also tried pressing the reset button before uploading and when it starts, release the button. Nothing worked so far. Does anybody know how to solve this?
OS: Win10
Hi,
Has anyone had any issues with the device recognising it's internal SD Card?
I just get "Card failed, or not present". I've tried everything I can think of; formatting card issues, different chipset pins etc.
Any help'd be appreciated.
Unfortunately I can't fork and make a pull request (is this project dead btw as I see a LOT of pull requests).
I wrote an improved Wiki for Getting started:
Your only requirement is to have installed Arduino IDE. Once installed, download bad_ducky.ino and open it with Arduino IDE. Plug in your device (it should be recognized as Arduino Leonardo), choose proper serial port and upload the sketch. Format your SD card to FAT32 and save your first script on the card.
For writing scripts you can use any text editor that supports Unix LF line ending (if you are using Windows you can use notepad++). So, let's create first script. Open your text editor and write:
STRING Hello World!
Save it as demo1.txt on the SD card (device supports 8 characters long file name + 3 characters for extensions), insert the card into the device and plug it to your computer. Open Arduino IDE, check if you have selected proper port and open Serial Monitor. You should get something like this:
Now you can choose desired delivery mode. There are three work modes:
While watching the serial monitor in top bar of it:
You are ready for the first script execution. Unplug your device, open text editor and plug it back in. You should be getting "Hello World!" text written in your text editor. If you unplug it and then plug it back again, you should not get anything this time. After executing your script, device switched it's mode to management.
If you have an error in your script or command is not recognized (even a blank line is considered to be an error), affected line will be skipped and rest of the script will be executed (the LED will start blinking at the end of execution).
## Git commit message:
Clarify issues for some users
* Currently nothing mentioned what language to choose. This has been
added.
* Also the fact you need to type in the top bar of the serial monitor has
been mentioned.
* Used [ENTER] to more clearly state the use of the enter key.
* Numbered each instruction to make it easier to follow.
Hi, I'm having an issue in that I can't even run a hello world test.
When monitoring, i get the mode, language and payload questions but when I unplug and plug it back in I'm getting nothing. It's being recognised as a usb input device on windows 7 64bit but I just can't seem to run any script.
My transcript is below.
I typed "a"
left the language blank
"NEW1.TXT"
`
Available modes:
m => management mode
a => auto-disarm mode
c => continuous delivery mode
Current mode: c
Current language:
Current payload: NEW1.TXT
Input mode:
Input language:
Input payload:
Get ready to have some fun :)
`
Can you suggest any troubleshooting that I can do? It doesn't work on another windows 7 box or linux for me either.
Thanks for creating such a great project!
Hi,
this issue has already been posted by donovanmagryta, but hasen't been closed with a suitable solution for
me.
for testing iam using demo2.txt, my system is a windows 7 64-bit german language.
The HID is opening the command interface with " GUI r", also "notepad.exe" is written, but the "Enter" command is not working, so "Hello World!" is written right behind "notepad.exe".
what I have tried so far is using diffrent delay times before & after the "notepad.exe"
also a couple of rows with the "ENTER" command, nothing working at all.
Iam kindly asking for your support.
I cant check whether the .ino file has been uploaded or not.When i open the serial monitor,all that i can see is that there is only a blank screen with nothing on it .Pls help me..
Hello,
I have a question concerning this arduino board
Is that possible to use one of the pins to connect a ds18b20 temperature sensor ?
I'd like to make a temperature logger
Thanks
Hello,
I would have liked to know if it was possible to store and execute the ps1 script of the keylogger on the sd card.
To be able to avoid downloading it from the internet.
Is it possible with this type of "Bad USB" in arduino?
Thank you
Hi @mharjac,
I was wondering how and if it's possible to open the Mac OSX Spotlight Search with the Command Stroke (CMD+SPACE).
Payload: SPACE
Result:
Payload: GUI SPACE
Result: Keystroke CMD+SHIFT+S
Payload: WINDOWS SPACE
Result: Keystroke CMD+SHIFT+S
I hope you can help. :-)
Thx and kind regards,
Marvyn
Hi, I ordered this CJMCU TF ATMEGA32U4 controller (leonardo) on Aliexpress
The problem lies in loading the sketches. Nothing ever loads. Every time I get the error "ttyACM0 Permission Denied"
I have already done all the necessary checks. my user was added to the dialout group, I also set all the permissions on ttyACM0 via chmod but nothing. After various searches I read that before loading the code you must hold down the button on the card. I did it, even part of the loading starts but shortly after it stops with the error "butterfly_recv(): programmer is not responding"
Here is more information regarding this controller from arduino ide:
How is it possible? I really appreciate your help because I don't know where to turn anymore, thanks.
Hi,
CTRL-SHIFT ENTER and also ENTER do nothing.
Please fix this.
Windows 10.
Hello,
I'm stuck programming the device into a "bad usb" :-(
Steps I've taken so far:
Step 0.
i've ordered a ZucZug TF MicroSD Micro SD Card Slot Badusb USB Virtual Keyboard ATMEGA32U4 Module For Arduino Leonardo R3 Bad Usb CJMCU
(https://www.aliexpress.com/item/32942081965.html?spm=2114.search0104.3.23.6b30256aapAze0&ws_ab_test=searchweb0_0%2Csearchweb201602_8_10065_10068_10547_319_317_10548_10696_10084_453_10083_454_10618_10304_10307_10820_10821_537_10302_536_10843_10059_10884_10887_321_322_10103%2Csearchweb201603_52%2CppcSwitch_0&algo_expid=1e112525-653a-49eb-ac25-73060989215b-3&algo_pvid=1e112525-653a-49eb-ac25-73060989215b&transAbTest=ae803_5)
... and a TF Card with 32 GB
Step 1.
in a Linux terminal:
$ ls -l /dev/ttyACM*
crw-rw---- 1 root dialout 166, 0 Jul 6 13:29 /dev/ttyACM0
$ sudo usermod -a -G dialout haasc
Step 2.
I've logged out and in again for this change to take effect
Step 3.
I've formatted the TF-/SD-card to FAT32 (vfat)
Step 4.
I've downloaded an installed Arduino IDE v1.8.9 for Linux
Step 5.
I've plugged in my device.
Step 6.
I've checked downloaded file:
haasc@linux:~/Downloads/bad_ducky$ file -i bad_ducky.ino
bad_ducky.ino: text/x-c; charset=us-ascii
==> file seems to be OK, not converted to DOS, file has US-ASCII encoding.
Step 7.
in Arduino IDE:
I've selected "Tools -> Port -> /dev/ttyACM0 (Arduino Leonardo)"
Step 8.
I've checked "Tools -> Get Board Info"
BN: Arduino Leonardo
VID: 0x2341
PID: 0x8036
SN: Upload any sketch to obtain it
==> It was recognized as Arduino Leonardo in the Arduino IDE
Step 9.
I've selected "Tools -> Board -> Arduino Leonardo"
Step 10.
I've opend the bad_ducky-file "File -> Open ... -> bad_ducky.ino"
Step 11.
I've tried to upload bad_ducky.ino to device "Sketch -> Upload" in the window where "bad_ducky.ino" is opened with no luck
Here is the verbose output during compilation and upload:
--- snip --
/home/haasc/arduino-1.8.9/arduino-builder -dump-prefs -logger=machine -hardware /home/haasc/arduino-1.8.9/hardware -tools /home/haasc/arduino-1.8.9/tools-builder -tools /home/haasc/arduino-1.8.9/hardware/tools/avr -built-in-libraries /home/haasc/arduino-1.8.9/libraries -libraries /home/haasc/Arduino/libraries -fqbn=arduino:avr:leonardo -vid-pid=0X2341_0X8036 -ide-version=10809 -build-path /tmp/arduino_build_553560 -warnings=none -build-cache /tmp/arduino_cache_745645 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -verbose /home/haasc/bad_ducky/bad_ducky.ino
/home/haasc/arduino-1.8.9/arduino-builder -compile -logger=machine -hardware /home/haasc/arduino-1.8.9/hardware -tools /home/haasc/arduino-1.8.9/tools-builder -tools /home/haasc/arduino-1.8.9/hardware/tools/avr -built-in-libraries /home/haasc/arduino-1.8.9/libraries -libraries /home/haasc/Arduino/libraries -fqbn=arduino:avr:leonardo -vid-pid=0X2341_0X8036 -ide-version=10809 -build-path /tmp/arduino_build_553560 -warnings=none -build-cache /tmp/arduino_cache_745645 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/haasc/arduino-1.8.9/hardware/tools/avr -verbose /home/haasc/bad_ducky/bad_ducky.ino
Using board 'leonardo' from platform in folder: /home/haasc/arduino-1.8.9/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/haasc/arduino-1.8.9/hardware/arduino/avr
Detecting libraries used...
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/Keyboard/src/Keyboard.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src/HID.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src/SPI.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/File.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/SD.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/utility/Sd2Card.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/utility/SdFile.cpp -o /dev/null
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/utility/SdVolume.cpp -o /dev/null
Generating function prototypes...
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp -o /tmp/arduino_build_553560/preproc/ctags_target_for_gcc_minus_e.cpp
/home/haasc/arduino-1.8.9/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_553560/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp -o /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp.o
Compiling libraries...
Compiling library "Keyboard"
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/Keyboard/src/Keyboard.cpp -o /tmp/arduino_build_553560/libraries/Keyboard/Keyboard.cpp.o
Compiling library "HID"
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src/HID.cpp -o /tmp/arduino_build_553560/libraries/HID/HID.cpp.o
Compiling library "SPI"
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src/SPI.cpp -o /tmp/arduino_build_553560/libraries/SPI/SPI.cpp.o
Compiling library "SD"
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/File.cpp -o /tmp/arduino_build_553560/libraries/SD/File.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/SD.cpp -o /tmp/arduino_build_553560/libraries/SD/SD.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/utility/Sd2Card.cpp -o /tmp/arduino_build_553560/libraries/SD/utility/Sd2Card.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/utility/SdFile.cpp -o /tmp/arduino_build_553560/libraries/SD/utility/SdFile.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo -I/home/haasc/arduino-1.8.9/libraries/Keyboard/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID/src -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI/src -I/home/haasc/arduino-1.8.9/libraries/SD/src /home/haasc/arduino-1.8.9/libraries/SD/src/utility/SdVolume.cpp -o /tmp/arduino_build_553560/libraries/SD/utility/SdVolume.cpp.o
Compiling core...
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/wiring_pulse.S -o /tmp/arduino_build_553560/core/wiring_pulse.S.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/WInterrupts.c -o /tmp/arduino_build_553560/core/WInterrupts.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/wiring.c -o /tmp/arduino_build_553560/core/wiring.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/wiring_analog.c -o /tmp/arduino_build_553560/core/wiring_analog.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/wiring_digital.c -o /tmp/arduino_build_553560/core/wiring_digital.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/hooks.c -o /tmp/arduino_build_553560/core/hooks.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/wiring_pulse.c -o /tmp/arduino_build_553560/core/wiring_pulse.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/wiring_shift.c -o /tmp/arduino_build_553560/core/wiring_shift.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/PluggableUSB.cpp -o /tmp/arduino_build_553560/core/PluggableUSB.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Print.cpp -o /tmp/arduino_build_553560/core/Print.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial1.cpp -o /tmp/arduino_build_553560/core/HardwareSerial1.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Tone.cpp -o /tmp/arduino_build_553560/core/Tone.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/IPAddress.cpp -o /tmp/arduino_build_553560/core/IPAddress.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/CDC.cpp -o /tmp/arduino_build_553560/core/CDC.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/USBCore.cpp -o /tmp/arduino_build_553560/core/USBCore.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/WString.cpp -o /tmp/arduino_build_553560/core/WString.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial0.cpp -o /tmp/arduino_build_553560/core/HardwareSerial0.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/abi.cpp -o /tmp/arduino_build_553560/core/abi.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial2.cpp -o /tmp/arduino_build_553560/core/HardwareSerial2.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/WMath.cpp -o /tmp/arduino_build_553560/core/WMath.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial3.cpp -o /tmp/arduino_build_553560/core/HardwareSerial3.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/main.cpp -o /tmp/arduino_build_553560/core/main.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/new.cpp -o /tmp/arduino_build_553560/core/new.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/Stream.cpp -o /tmp/arduino_build_553560/core/Stream.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER="Unknown"" "-DUSB_PRODUCT="Arduino Leonardo"" -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/haasc/arduino-1.8.9/hardware/arduino/avr/variants/leonardo /home/haasc/arduino-1.8.9/hardware/arduino/avr/cores/arduino/HardwareSerial.cpp -o /tmp/arduino_build_553560/core/HardwareSerial.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/CDC.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/HardwareSerial.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/HardwareSerial0.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/HardwareSerial1.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/HardwareSerial2.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/HardwareSerial3.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/IPAddress.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/PluggableUSB.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/Print.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/Stream.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/Tone.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/USBCore.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/WInterrupts.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/WMath.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/WString.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/abi.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/hooks.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/main.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/new.cpp.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/wiring.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/wiring_analog.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/wiring_digital.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/wiring_pulse.S.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/wiring_pulse.c.o
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc-ar rcs /tmp/arduino_build_553560/core/core.a /tmp/arduino_build_553560/core/wiring_shift.c.o
Archiving built core (caching) in: /tmp/arduino_cache_745645/core/core_arduino_avr_leonardo_b14dc7671ed9e53830a81b6fafc548e8.a
Linking everything together...
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega32u4 -o /tmp/arduino_build_553560/bad_ducky.ino.elf /tmp/arduino_build_553560/sketch/bad_ducky.ino.cpp.o /tmp/arduino_build_553560/libraries/Keyboard/Keyboard.cpp.o /tmp/arduino_build_553560/libraries/HID/HID.cpp.o /tmp/arduino_build_553560/libraries/SPI/SPI.cpp.o /tmp/arduino_build_553560/libraries/SD/File.cpp.o /tmp/arduino_build_553560/libraries/SD/SD.cpp.o /tmp/arduino_build_553560/libraries/SD/utility/Sd2Card.cpp.o /tmp/arduino_build_553560/libraries/SD/utility/SdFile.cpp.o /tmp/arduino_build_553560/libraries/SD/utility/SdVolume.cpp.o /tmp/arduino_build_553560/core/core.a -L/tmp/arduino_build_553560 -lm
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino_build_553560/bad_ducky.ino.elf /tmp/arduino_build_553560/bad_ducky.ino.eep
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino_build_553560/bad_ducky.ino.elf /tmp/arduino_build_553560/bad_ducky.ino.hex
Using library Keyboard at version 1.0.2 in folder: /home/haasc/arduino-1.8.9/libraries/Keyboard
Using library HID at version 1.0 in folder: /home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/HID
Using library SPI at version 1.0 in folder: /home/haasc/arduino-1.8.9/hardware/arduino/avr/libraries/SPI
Using library SD at version 1.2.3 in folder: /home/haasc/arduino-1.8.9/libraries/SD
/home/haasc/arduino-1.8.9/hardware/tools/avr/bin/avr-size -A /tmp/arduino_build_553560/bad_ducky.ino.elf
Sketch uses 24672 bytes (86%) of program storage space. Maximum is 28672 bytes.
Global variables use 1868 bytes (72%) of dynamic memory, leaving 692 bytes for local variables. Maximum is 2560 bytes.
Forcing reset using 1200bps open/close on port /dev/ttyACM0
PORTS {/dev/ttyACM0, } / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
--- snap --
==> now the LED is fast flashing and the /dev/ttyACM0 isn't responding anymore. Removing the device from the USB-port seems to reset this situation ...
I can't find where the problem is, nor how to resolve this issue. Can you give me some help?
Also I don't know how the device can be resetted as mentioned in the "getting started". Do I have to connect +5V with RST? - Sadly I could not find any docu about these devices.
Many thanks!
Christoph
#FIXED#
When i finish executing a script,if i replug the ducky,it executes the script again.
Is it only for me,or the bad ducky has it??
Hey, tried to get Estonian layout, but the keydumper also presses buttons, what disable the touchpad, close things and so on.
Are you able make an Estonian layout?
Hi, What format do the keymap fiels use?
For example, in ducky script to do ctrl+alt+del you would do CTRL-ALT DEL. ALT-Shift and CTRL-SHIFT don't seem to work either. CTRL ALT DEL seems to work, but since CTRL-ALT DEL is the duckyscript way to do it, it prevents 100% script compatibility.
i have inserted the sd card with inject.bin into the usb and nothing seems to happen should i flash it?
if so then how?
I tried to do a tab in a script, but it do not work
I use german keyboard.
capslock and enter is working fine
There is a problem with source code, I think part with typing language, cmdPressKey function. Command "ENTER" (maybe more) is not execute in cmd.
That for example execute well.:
Keyboard.press(KEY_RETURN);
delay(50);
Keyboard.release(KEY_RETURN);
But Yours function cmdPressKey with pressChar(convertLangChar(key)) not.
Configuration.:
Current mode: c
Current language: en
Current payload: demo1.txt
so i got my usb today and have uploaded the script bad_duck.ino to it (no sd plugged) but when i plug it in nothing happens
When using the default EN keyboard layout GUI + space doesn't seem to be mapped correctly on OSX. Might be something similar to this: https://github.com/hak5darren/USB-Rubber-Ducky/issues/79
Hello, is there a way to have the sd card show up as usb mass storage as well using the device as a HID Keyboard?
The USB rubber ducky has calls this feature "Twin Duck" and I was wondering if there was a way to replicate that on an arduino.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.