Git Product home page Git Product logo

ro9ueadmin / duckencoder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tresacton/duckencoder

0.0 1.0 0.0 973 KB

A USB RUBBER DUCKY GUI! A RoR app as a simple GUI wrapper for the Duck Encoder. Have it configured to serve remotely and you have a way of encoding ducky scripts on a portable device with a browser and file system. Tested with DuckEncoder running on an OSX host, and accessing it from an Android client via web browser.

Ruby 76.72% JavaScript 2.18% CoffeeScript 0.69% CSS 2.83% HTML 17.57%

duckencoder's Introduction

#DuckEncoder README

Note: I spent a grand total of 10 minutes making this app, and most of that was initialising an empty Rails application. This app is very simple in nature. It does not have or use a database, it doesn't employ any authentication (although devise gem is in the gemfile waiting for your configuration if you so desire). Just want to make sure we're all on the same page here in terms of expectations =)

A Ruby on Rails app designed to be a simple GUI wrapper for the Duck Encoder. This is not a replacement for the hak5 encoder, but it can serve as a simple wrapper for the encoder. If you choose to do so, you may serve remotely for an easy way to encode your ducky scripts on a portable device such as your Android phone / tablet.

Tested with DuckEncoder (this app) running on an OSX host, and accessing it from an Android client via web browser. It should work on Linux. Windows paths might not work correctly. When I have another few minutes I might come back and make sure the paths are actually OS agnostic.

A demo has been produced by Darren from Hak5 and is available here: http://hak5.org/episodes/hak5-1716

##Usage:

Press the Choose File button to open your file browser

### If using the app on an Android device: select your file browser, navigate to the ducky script you wish to use, and press "Create inject.bin" to encode the script

### Check output from the encoder tool and click the download link if you are satisfied with the results

##Installation Instructions ####Requires: #####Ruby 2 #####Rails 4 #####Bundler

Run the following commands from your terminal:


git clone https://github.com/tresacton/DuckEncoder.git
cd DuckEncoder
bundle install

Once you have done installed the app, you need to tell it where your Hak5 encoder is located. To do this, edit the file config/config.yml with the correct path.

You can now launch the app


rails s -p 3000 # or any port you prefer

Navigate to the app like you would any other web app. For example, if accessing the app locally, type the following into your browser: http://127.0.0.1:3000

Enjoy.

####### Alternate instsallation script, provided by Darren from Hak5, to help resolve some Ubuntu dependencies to get this running:


apt-get install curl
\curl -sSL https://get.rvm.io | bash -s stable --rails
source ~/.rvm/scripts/rvm
git clone https://github.com/tresacton/DuckEncoder.git
cd DuckEncoder
gem install turbolinks -v '2.5.2'
gem install execjs
gem install therubyracer
sudo apt-get install nodejs
bundle install
rails s -p 8000

If you have found this tool to be useful, please feel free to make a bitcoin donation to: 15ELxpFFeeQXokzXzjJuk6iwr1q7r9cjTz

duckencoder's People

Watchers

 avatar

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.