Giter Club home page Giter Club logo

badusb256's Introduction

BadUSB256

A BadUSB Human Interface Device project that can store and execute 256 scripts at a time.
This project uses a microSD breakout module with a microSD card to store and execute the scripts from.
The scripts are executed according to the positions or states of the dip switches connected to the board.

Prerequisites

This project requires the following prerequisites to be created:

  • Arduino Pro Micro (Leonardo)
  • microSD breakout module
  • SD Card
  • 8 way dip switch

Setup

Connections:

Arduino microSD
VCC --> VCC
D15 --> SCK
D14 --> MISO
D16 --> MOSI
GND --> GND
10 --> CS

The 8 pins on one side of the dip switch are connected to pins 2 through 10.
The 8 pins on the other side are together connected to GND.

Uploading:

Download the binaries from the latest releases. There are two ways by which the code can be uploaded, by using either Arduino IDE or AVRdude.

Arduino:

  • Open the BadUSB256.ino file in Arduino IDE
  • Update your libraries if not done already
  • Select the correct board and port
  • Set the programmer to AVRISP mkII
  • Upload

AVRdude:

  • Open the core.hex file in AVRdude
  • Update your libraries if not done already
  • Set the programmer to AVRISP mkII
  • Select the correct port
  • Upload

Note:

The script naming convention is according to the switch states. Therefore, if all switches are in an off state, the script "00000000.txt" will be executed and it will execute script "11111111.txt" if all of them are in an on state.

The REPEAT feature of the Ducky script has not yet been implemented.

I am no way responsible for any misuse of the device or its source code. If you try to gain unauthorized access to information and get caught using my project and then point your finger at me, I will laugh at you and tell you to cry a river.

STAY RESPONSIBLE.

badusb256's People

Contributors

endbehavi0r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

badusb256's Issues

6 SWITCHES

Hello, could you make a .ino file that has 4 switches that are connected from D6 to D9, please, Bro, I would really appreciate it, since I saw one but it doesn't work for me, thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.