It's everything you need to start encoding your USBRubberDucky Payloads ... Quack!! :) :)
I recently got my USB Rubber Ducky and I was really interested in the command line java encoder. RubberDuckyEncoderStarter.py is everything you need to start encoding your USB Rubber Ducky Payloads. It makes using the command line Java Encoder by HAK5.org super easy. It works on both Python2 and Python3. It's also tested on Windows 10, Kali Linux and 10.12 Sierra macOS.
How to use it:
1- Place the .py file in the same directory with your Payloads.
2- Open cmd (for Windows) or Terminal (for Linux or macOS) and navigate to your Payloads directory.
3- type python RubberDuckyEncoderStarter.py then press Enter (or Return :):) ).
4- Enjoy !!
//OR//
You can Simply use the Run-Script as per your OS as follows:
--For Windows:
1- Download the .zip file from: https://github.com/minamagdyshehata/RubberDuckyEncoderStarter/archive/master.zip
2- Extract the RubberDuckyEncoderStarter-master Directory.
3- Open the RubberDuckyEncoderStarter-master Directory and Double-Click on "Run-WindowsScript.bat".
--For Linux and macOS:
1- Open Terminal.
2- Navigate using cd command to where you want to download the RubberDuckyEncoderStarter
3- git clone https://github.com/minamagdyshehata/RubberDuckyEncoderStarter.git
4- cd RubberDuckyEncoderStarter
5- chmod 755 *.sh (for Linux) OR chmod 755 *.command (for macOS)
6- You can now open the Directory and Double-Click the Run-Script suitable for your OS.
**The script will automatically download the encoder.jar from :
https://github.com/hak5darren/USB-Rubber-Ducky/blob/master/Encoder/encoder.jar
**Just make sure you have Java installed on your machine.
To install Java on Linux type the following commands in the terminal:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install default-jre
Download links:
RubberDuckyEncoderStarter.py: https://raw.githubusercontent.com/minamagdyshehata/RubberDuckyEncoderStarter/master/RubberDuckyEncoderStarter.py
Run-WindowsScript.bat: https://raw.githubusercontent.com/minamagdyshehata/RubberDuckyEncoderStarter/master/Run-WindowsScript.bat
Run-LinuxScript.sh: https://raw.githubusercontent.com/minamagdyshehata/RubberDuckyEncoderStarter/master/Run-LinuxScript.sh
Run-macOSScript.command: https://raw.githubusercontent.com/minamagdyshehata/RubberDuckyEncoderStarter/master/Run-macOSScript.command
Quack,Quack !! :) :)