mame82 / duckencoder.py

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

Update duckencoder.py #6

Closed lightzl closed 6 years ago

lightzl commented 6 years ago

Write the output file with binary type. That will not add '\r' before '\n', when the script runs in windows system. If you run the old one in windows system, the letter 'G' will be converted to '0xb 0xa 0x2', which actrually '0xa 0x2'.

mame82 commented 6 years ago

Thx