SImple duckyscript interpreter in Bash.
Shell
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1062d7b Sep 28, 2015
Permalink
Failed to load latest commit information.
README.md Update README.md Sep 28, 2015
droidducky.sh Added REPEAT support and minor fixes Aug 24, 2015
hid-gadget-test First commit. Aug 7, 2015

README.md

DroidDucky

Abstract

DroidDucky is a duckyscript interpreter written in Bash which brings all of ducky scripting goodness to Android.

Usage

In order to use DroidDucky you have to have some kind of Android terminal emulator application. Lots of them can be found on the Play Store (both free and paid). I’m currently using JuiceSSH, and I can recommend it. Also, you'll have to have a custom kernel with android-keyboard-gadget support.

Syntax is quite simple. Just run droidducky.sh with payload file name as the first argument. Make sure that droidducky.sh has execution permission.

bash droidducky.sh payload.dd

Example

You can try the payload code below.

REM Loading payload code.
GUI r
STRING cmd
REM Opening command prompt.
ENTER
DELAY 100
REM Sending the message.
STRING Hello World! I'm in guys.

Live demonstration

Executing DuckSlurp payload using DroidDucky.

Detailed info

More information about this project, including implementation details can be found in the following blog post: DroidDucky - Can an Android quack like a duck?.