Skip to content

HackerNowful/SD-Ducky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi 👋, I'm Mohammed Nowful Khan

Hardware hacker

Arduino Pro Micro Rubber Ducky with SD Card Support

Introduction

This project utilizes an Arduino Pro Micro to emulate a keystroke, enabling HID attacks to the Rubber Ducky. The device reads Ducky scripts from an SD card and executes predefined actions.

Author

Usage

  1. Connect the Arduino Pro Micro to the SD card as follows:

    • Pro Micro Pin - SD Card Pin
    • D4 - CS
    • D15 - SCK
    • D16 - MOSI
    • D14 - MISO
    • VCC - VCC
    • GND - GND
  2. Upload the provided code to the Arduino Pro Micro.

  3. Required Libraries:

    • Keyboard.h
    • SD.h
    • SPI.h
  4. Example Code:

    #include "sd_ducky.h"
    void setup() {
      activateducky("script.txt");
    }
    
    void loop() {
      // Nothing needs to be done here.
    }
    
  5. Create Ducky scripts and save them on the SD card with the filename script.txt.

Example Ducky Script

Create a Ducky script (e.g., script.txt) and save it on the SD card. Below is an example Ducky script:

DELAY 500
STRING notepad
ENTER
DELAY 800
STRING Hello, this is a Ducky script!
ENTER 
  1. Power on the Pro Micro, and it will execute the actions specified in the Ducky script.

Important Note

This project is for educational purposes only. The author assumes no responsibility for the misuse of this code. Be aware of legal and ethical considerations when deploying such devices.

Disclaimer

All videos and tutorials are for informational and educational purposes only. Ethical hacking, information security, and cyber security should be familiar subjects to anyone using digital information and computers. The provided tutorials are for those interested in learning about Ethical Hacking and related subjects. Hacking tutorials are against the misuse of information, and it is strongly advised against it.

Acknowledgments

Thanks to the open-source community for providing libraries and tools used in this project.

Happy hacking!

hackernowful

hackernowful

hypesecinfotech

Connect with me:

hypesecinfotech hypesec infotech mr_white_hat._ hypesec infotech

Languages and Tools:

arduino bash blender firebase git ifttt javascript linux php python ruby

hackernowful

 hackernowful

hackernowful