hak5darren/USB-Rubber-Ducky — pull request #8 by timmattison (2014-07-29 10:50:15+00:00)
Title: Fix for DELAY values larger than 127

Delay values larger than 127 previously got trashed when converting to a byte. Lots of scripts use DELAY 200 which ends up effectively as DELAY -57 when the casting is done. Since the logic only adds a delay command to the binary if it is greater than zero it gets skipped every time and no delays are entered.