DigiDuck

所属分类:前端开发
开发工具:C++
文件大小:6KB
下载次数:0
上传日期:2019-10-11 18:13:23
上 传 者sh-1993
说明:  Ducky脚本解析器和DigiSparksSketch转换器
(A Ducky script parser and converter to DigiSparks Sketch)

文件列表:
DigiDuck.h (710, 2019-10-12)
LICENSE (1071, 2019-10-12)
demo.txt (246, 2019-10-12)
digiduck.py (3447, 2019-10-12)
layouts (0, 2019-10-12)
layouts\azerty.h (3266, 2019-10-12)
layouts\mac_azerty.h (3263, 2019-10-12)

# DigiDuck A ducky script parser and converter to DigiSparks Sketch Why buy a rubber ducky for 45$ when you can buy a DigiSpark for 1$ ? This script can convert a ducky script file to an Arduino Digispark sketch without passing by an useless compiled binary. ### Why ? All project I'v found to do this jobs use the rubber ducky compiler and then addapt the payload for Digispark. But its useless and that does not allow you to modify the sketch later Anyway, even if a simple convertion script is pretty simple, the hardest issue is the compatibility with differents keyboards layouts. So, instead of an ugly char convertion, DigiDuck send the good combination of keys to produce the char at the runtime. The layout file use a direct correspondence between the ASCII code and the HID USB code. ### Usage Convert a script for the default keyboard layout (azerty) : ``` ./digiduck.py input_ducky_script.txt ``` Use a different keyboard layout : ``` ./digiduck.py input_ducky_script.txt --keyboard mac_azerty ```

近期下载者

相关文件


收藏者