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
badusb converter ducky duckyscript hacktoberfest python rubber rubber-ducky script

ducky2python :snake:

Convert DuckyScript scripts (of the hak5 USB Rubber Ducky) to Python programs that can run on your computer without a rubber ducky.

Why DuckyScript and why Python? It's easy! DuckyScript is simple and easy to learn and has become a standard in the BadUSB and pentesting community, Python also is easy to be written and is arguably one of the most portable programming languages available. Combine the two using ducky2python and you have a really easy to learn and powerfull automation tool in your hands!

:star: UPDATE: Now ducky2python has a website which you can use instead of downloading and running the Python program! See instructions bellow.

Usage Instructions (through website) :globe_with_meridians:

  1. Visit https://cedarctic.github.io/ducky2python
  2. Paste & Convert your script
  3. Copy and paste the converted script to a text editor and save the file with a .py extension
  4. If you want to run the script you first have to install Python 3 and then pyautogui: pip install pyautogui

Installation / Usage :computer:

  1. Install Python 3 if you don't have it.
  2. Download the ducky2python.py file from here.
  3. Run it.
  4. Drag and drop the .txt file of the DuckyScript you want converted and hit enter.
  5. You will find the converted script in the directory of ducky2python.py with the name PythonScript.py
  6. If you want to run the script you first have to install pyautogui: pip install pyautogui

Credits

License

GNU-AGPLv3.0

Copyright (c) 2018 CedArctic