A simple implementation of the rubber ducky on Android utilizing USB gadgets and ConfigFS.
This repository has been archived on 2026-04-25. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-02-27 14:18:23 +00:00
hid-tester@95e7942519 Initial commit 2021-12-24 01:38:52 +02:00
scripts Added sleep to the systeminfo script 2021-12-24 01:50:34 +02:00
.gitignore Initial commit 2021-12-24 01:38:52 +02:00
.gitmodules Initial commit 2021-12-24 01:38:52 +02:00
common.sh Initial commit 2021-12-24 01:38:52 +02:00
disable.sh Removed set -x from enable.sh and disable.sh 2021-12-24 01:42:49 +02:00
enable.sh Removed set -x from enable.sh and disable.sh 2021-12-24 01:42:49 +02:00
LICENSE Initial commit 2021-12-24 01:38:52 +02:00
README.md Update README.md 2022-02-27 14:18:23 +00:00

AnDucky

A simple implementaion of the rubber ducky on Android utilizing USB gadgets and ConfigFS

How to use

NOTE: This requires root permissions to work (PRoot won't do)

  • Clone the repo
$ git clone https://github.com/threadexio/anducky
$ cd anducky
$ git submodule update --init --recursive
  • Obtain an hid-tester binary
$ cp hid-tester/hid-tester-[your cpu architecture] scripts/hid-tester

You can build it yourself if one isn't available for your CPU

$ cd hid-tester
$ make FLAGS="-DNDEBUG" build
$ cp hid-tester ../scripts/hid-tester
  • Now you can start making scripts, there are some examples under the scripts folder