Ultimate USB Rubber Ducky Recon Script

May 9, 2017 | Views: 7593

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

This script does a lot but has some impactful key features that are worth reviewing.

The Rubber Ducky Recon Script displays the current WiFi Connections credentials by exploiting the [*] character in Command Prompt, which acts as “everything”. So in this script, we are using the

 * in netsh wlan show profile name=* key=clear
Thus, regardless of the access point’s name, so long as it’s wifi, it will display the key (password). 

Another thing we are “exploiting” is the ability to copy a command prompt’s output, and send it via SMTP through Powershell. The Notepad file which will copy all of command prompt’s output is located in the windows temp folder (C:WindowsTempXInfo.txt) which is a relatively common location but is also not often looked through.

Yet another thing this script does is display open ports on the computer. But we don’t really need to go in depth on that at the moment. 

Finally, the script creates an access point with the credentials then [ssid=Insecure key=Insecurities] drops the windows firewall if it is not already dropped.

Let me know if you have any questions by submitting them in the comments below.


Share with Friends
Use Cybytes and
Tip the Author!
Share with Friends
Ready to share your knowledge and expertise?
  1. Hey guys, I apologise, when I submitted this Op3n the whole script got edited out. Here’s the script https://github.com/Insecurities/RubberDucky/wiki/Complex-Recon-Script

Page 2 of 2«12
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge


We recommend always using caution when following any link

Are you sure you want to continue?