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:
- Visit https://cedarctic.github.io/ducky2python
- Paste & Convert your script
- Copy and paste the converted script to a text editor and save the file with a .py extension
- If you want to run the script you first have to install Python 3 and then pyautogui:
pip install pyautogui
Installation / Usage :computer:
- Install Python 3 if you don't have it.
- Download the ducky2python.py file from here.
- Run it.
- Drag and drop the .txt file of the DuckyScript you want converted and hit enter.
- You will find the converted script in the directory of ducky2python.py with the name PythonScript.py
- If you want to run the script you first have to install pyautogui:
pip install pyautogui
Credits
- hak5 for the USB Rubber Ducky and DuckyScript
- The awesome Python community
- asweigart for pyautogui
License
GNU-AGPLv3.0
Copyright (c) 2018 CedArctic