Author Topic: Digispark DuckyScript Compiler  (Read 13632 times)

uslurper

  • Newbie
  • *
  • Posts: 2
Digispark DuckyScript Compiler
« on: January 20, 2017, 08:48:58 pm »
Hey everyone,
I wrote a little python program that converts DuckyScript for the Hak5 USB Rubber Duck into a form usable by the Digispark. It even escapes strings properly for you.
The code can be found at https://github.com/uslurper/digiduck, or you can download it through pip (pip install digiduck).

Also, since the code is output in plaintext, you can add any control flow or I/O you want after it's converted, which is nice.

It works pretty well so far, but I'd really appreciate any feedback or bug reports you have.

Thanks.

uslurper

  • Newbie
  • *
  • Posts: 2
Re: Digispark DuckyScript Compiler
« Reply #1 on: January 23, 2017, 07:13:17 am »
Also, I'm continuing to add new functionality to it to take advantage of the digispark itself. The next update (which will be on pip and github as soon as my roommate tells me what he changed the WiFi password to) will allow you to trigger the onboard led with lines in Ducky Script for feedback purposes. Next will be controlling pins and reading input. Then probably some generated control flow. Eventually it will be able to generate it's own payloads from supplied terminal arguments. That's the plan, anyway.

Caps_Lock

  • Newbie
  • *
  • Posts: 1
Re: Digispark DuckyScript Compiler
« Reply #2 on: June 08, 2017, 11:46:44 am »
Hi, I am new with arduino coding and just recived my first digispark. I want to use it for fun with my friends and you converter seem like a very usefull tool. However, i have no idea on how to make it work. Any chanse you could make a simple tutorial? Thanks!