Jump to content

USB Rubber Ducky Toolkit ft Emulator, Encoder & Validator


Recommended Posts

Hey everyone I made a toolkit for the Rubber Ducky featuring an emulator, code validator and encoder.
It's currently in beta but is ready to be tested!yUYiZRz.png

You can download it from here; https://drive.google.com/open?id=0B7z_QzobhrFDXzRpMVBfOTlfOUE

Source code is available here: https://github.com/HaydenMeloche/USB-Rubber-Ducky-Toolkit (plz dont copy and paste :) )

Leave any questions you have below :)

Link to comment
Share on other sites

You Do Great Job

first of all
I take tow part from Your early project I make some change and convent it t vb.net and Add it to my Project
Validate Code  _ Credit to HayDenM
Execute Script _ Credit to HayDenM
Do You Mind ?

I`ll Check Your project and give you rview

Link to comment
Share on other sites

File.Copy(FilePath, AppDomain.CurrentDomain.BaseDirectory + "script.txt", true);//copy the script to
formEncoding formEncoding = new formEncoding();
formEncoding.ShowDialog(); //show encoding form


string outputfilename = txtboxFileName.Text;
            Process JavaProc = new Process();
            ProcessStartInfo JavaProcInfo = new ProcessStartInfo("java", "-jar " + '\"' + AppDomain.CurrentDomain.BaseDirectory + "duckencode.jar" + '\"' + " -i " + '\"' + AppDomain.CurrentDomain.BaseDirectory + "script.txt" + '\"' + " -o " + '\"' + outPutFilePath + '\"');

            JavaProcInfo.UseShellExecute = false;
            JavaProcInfo.RedirectStandardError = true;
            JavaProcInfo.CreateNoWindow = true;

            JavaProc.StartInfo = JavaProcInfo;

            string sOutput;
            using (System.IO.StreamReader sReader = JavaProc.StandardError)
                sOutput = sReader.ReadToEnd();

            if (sOutput.Length > 0)


Link to comment
Share on other sites

Execute Script Need Fix

try it to console windows it`s dos`t work
ALT SPACE " send Alt+space to console window"

You Need
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Const KEYEVENTF_KEYUP = &H2
Private Const VK_LMENU = &HA4
Private Const VK_SPACE = &H20

and Pass Command Like This:

keybd_event(VK_LMENU, 56, 0, 0)
keybd_event(VK_SPACE, 57, 0, 0)
keybd_event(VK_SPACE, 57, KEYEVENTF_KEYUP, 0)
keybd_event(VK_LMENU, 56, KEYEVENTF_KEYUP, 0)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...