Giter Club home page Giter Club logo

pyduckgen's Introduction

PyDuckGen

GitHub release GitHub stars GitHub commits

PyDuckGen Startscreen

Introduction

PyDuck is a Python Script which helps you to get your once written USB Rubber Ducky Payloads onto your Duck's SDCard quickly. You can even change variable components by using a simple set <attribute> <val> command. All of this is made easy with a Metasploit like interface. Simply choose your payload with <payload>, configure it and there you go :)

Usage

Tested with Python 3.5.2

Installation

  1. Download the latest release.
  2. Run.
  3. ???
  4. Profit

OR (if you want the Dev Version) 0. Need Python 3.5.2 or higher...duhhh

  1. Clone the Repo: git clone https://github.com/ThoughtfulDev/PyDuckGen.git
  2. Install dependencies: cd PyDuckGen && pip install -r requirements.txt
  3. Start: python PyDuckGen.py
  4. Enjoy

Commands

You can get a list of all available commands by typing help at any time.

Normal Commands

Payload Commands

Example Payload Generation

pyd> hello_world
pyd (hello_world)> attributes
...
pyd (hello_world)> set language de
pyd (hello_world)> set sdcard_mount H:\
pyd (hello_world)> set text Hello Github <3
pyd (hello_world)> generate

You SDCard mounted on H:\ should now have the right inject.bin on its USB Stick ready to go :) (It should open notepad and type 'Hello Github <3')

Here is another demontration.

pyd> mimikatz_lazagne_twinduck
pyd (mimikatz_lazagne_twinduck)> attributes
...
pyd (mimikatz_lazagne_twinduck)> set uac_bypass_key j
pyd (mimikatz_lazagne_twinduck)> set language de
pyd (mimikatz_lazagne_twinduck)> gen

As you can see if the Payload bypasses UAC you can set the key for bypassing e.g for US its ALT + y for Germany it is ALT + j.

Adding new payloads

Each payload or module has its own folder in 'modules/'. Every module needs a module.json which is kind of a configuration file about its name, description, needed folders on the ducky, needed files and replacable attributes. Have a look at the existing modules and you should get the hang of it... at least i hope so...

If you want to have your Payload added feel free to make a pull request.

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.