CedArctic / ducky2python

Convert DuckyScript (USB Rubber Ducky) to Python Applications :snake:
https://cedarctic.github.io/ducky2python
GNU Affero General Public License v3.0
120 stars 34 forks source link

Fixed character mapping to reflect .py version #5

Closed ParzivalAFK closed 1 week ago

ParzivalAFK commented 9 months ago

This is a quick fix for you fixing the first issue from issue #4. Your python file maps correctly but the JavaScript version of your script is converting [windows + r] combo to [windows + R]. (Horribly breaking it from opening a run prompt and typing in there to opening a screenshot utility and typing like crazy wherever the active cursor is)

In the .py version it handles case correctly, but I noticed in the .js version you had both uppercase and lowercase characters mapping to uppercase.


As a note I wanted to say thank you so much for having this so I did not have to build it myself! It is beautifully coded and is being used in life! I help run a cybersecurity type class at our university and we have rubber duckies for in-person students for a lab... but the online students could not really experience this with us until now, so Thank You!