Python3 version of the RubberDucky encoder
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources
LICENSE
README.md
pyducky.py

README.md

PyDucky

PyDucky is a Python 3 version of the original RubberDucky script encoder (Java).

This version allows you to use alternative layout. It supports ASCII, ISO-8859-1 and Unicode.

$ python3 pyducky.py -i script.txt

or

$ python3 pyducky.py -i script.txt -o inject.bin -l fr

Note This is a beta version, I didn't run all the necessary tests...

Setup

This tool requires the PyYAML module.

$ pip3 install PyYAML
Usage: pyducky.py [options]

Options:
  -h, --help            show this help message and exit
  -i INFILE, --input=INFILE
                        DuckyScript file
  -o OUTFILE, --output=OUTFILE
                        Output filename (default: inject.bin)
  -l LAYOUT, --layout=LAYOUT
                        Keyboard layout file (us/fr/ca/etc. default: us)

Resources

Original project

Ducky Script syntax

License

This project is released under the Apache 2 license. See LICENCE file.