mame82 / duckencoder.py

Python port of infamous duckencoder for RubberDucky
135 stars 49 forks source link

"REM" command leads to printing out `r` #5

Closed mame82 closed 7 years ago

mame82 commented 7 years ago

There are situation when the REM command in a DuckyScript leads to type ou of a r.

Needs to be investigated, but // is working for comments.

mame82 commented 7 years ago

The error occurs because the code searchs for "REM ". For "REM\r\n" or "REM\n" the first char R is interreted as VKEY_R, resulting in type out if lower case r

mame82 commented 7 years ago

fixed