mharjac / bad_ducky

Rubber Ducky compatible clone based on CJMCU BadUSB HW.
MIT License
276 stars 79 forks source link

Added capability to read from serial and dump to a file after script … #29

Open jametller opened 4 years ago

jametller commented 4 years ago

I've modified the code to listen the serial port after the execution of a script. All the bytes received from the serial port are dumped to a file within the SD card so it is a way to save data from the host system in which the device is plugged in. To write data to serial port a simple powershell script can be executed.

d0ra1mon commented 1 year ago

Hi can you write some small example (example: find a file on pc and transfer it on the sd using serial monitor) ? I have readed the code after your modified, but i would like to use the bad usb without use the menu...