mame82 / duckencoder.py

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

many typos in duckencoder.py #10

Open doublehp opened 6 years ago

doublehp commented 6 years ago

https://github.com/mame82/duckencoder.py/blob/4af3dd262f43a9328894b4342cb97de675ee2d87/duckencoder.py

481-482 -p, --pastthru Read script from stdin and print result on stdout (ignore -i, -o) -r, --rawpassthru Like passthru, but input is read as STRING instead of duckyscript

498-500 (and many other ones) rawpassthru = False try: opts, args = getopt.getopt(argv, "hi:o:l:pr", ["help", "input=", "output=", "language=", "passthru", "rawpassthru"])

524-531: elif opt in ("-p", "--passsthru"): [...] elif opt in ("-r", "--rawpasssthru"):

and I probably missed many other ones ...