The BleKeyboard With Sdcard Library is a Bluetooth-based HID attack library inspired by Rubber Ducky. It allows you to execute Ducky scripts directly from an SD card using a Bluetooth keyboard.

Installation


  • Download thelibrary from our Github Page

  • Download File

  • To use the library, follow these steps
  • After Download, Load the library to arduino library manager
  • Sketch -> Include Library -> Add Zip Library -> Select The Downloaded Library.
  • Include the library header in your Arduino sketch.

  •                                         
                                                #include "blesdlib.h"
                                            
                                          

  • Initialize the BleKeyboard and SD card in the setup() function.

  •                                         
                                                void setup() {
                                                    bleKeyboard.begin();
                                                    if (!SD.begin(4)) {
                                                        return;
                                                    }
                                                    myFile = SD.open("example.txt");
                                                    attack();
                                                }
                                            
                                          

  • Write your Ducky script in a file (e.g., example.txt) and save it on the SD card.

  • Power on your device, and it will execute the actions specified in the Ducky script.

  • Example Code



  • Here is an example Arduino sketch using the library.

  •                                         
                    #include "blesdlib.h"
    
                    void setup() {
                    bleKeyboard.begin();
                    if (!SD.begin(4)) {
                    return;
                    }
                    myFile = SD.open("example.txt");
                    attack();
                    }
    
                  void loop() {
                  }
                                            
                                          

    Important Note


    This library is designed for educational purposes only. Ensure that you are aware of legal and ethical considerations when deploying such devices..


    Disclaimer


    All videos and tutorials provided by Hypesec Infotech or Hacker Nowful is only for informational and educational purposes only. Ethical hacking, information security, and cyber security are subjects that should be familiar to anyone using digital information and computers.


    Acknowledgments


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


    Happy hacking!



    #wardriving #wifipentesting #hackernowful #hypesecinfotech #deauther #wifirecon #packetmonitor #hidattack #bluetoothrubberducky #rubberducky