kevthehermit / ducktoolkit Goto Github PK
View Code? Open in Web Editor NEWEncoding Tools for Rubber Ducky
License: GNU General Public License v3.0
Encoding Tools for Rubber Ducky
License: GNU General Public License v3.0
I have updated to the latest version of the encoder for python 3 support ( My last update being from 2016) sense then CTRL-ALT E seems to have broken. I use this key combo to put chromebooks in to enterprise mode. ALT-SHIFT S sill works so key combos themselves work.
Hi thanks for this library!
I'm trying to encode a DuckyScript file with LED_G
commands and it appears that these LED commands aren't supported.
The DuckyScript looks like:
DELAY 1000
LED_G
When running it through the encoder this is the output:
[+] Reading Input file.
[-] Encoding File
[!] Error on line 2: LED_G is not a valid command
I'm not even sure how to add that into this repository - not very familiar with the encoding process...
Thanks for the help!
It seems for keys that do not exist on an US keyboard , adding the definition to the language file still doesn't print the letter out.
example:
reference: http://hp.vector.co.jp/authors/VA003720/lpproj/others/kbdjpn.htm
If there is anyway I can help I would like to help out just let me know.
Kentaro
l****
Left brace is missing from ch swiss / german language file.
https://gist.github.com/powerslaver85/5908465
please replace:
ASCII_7B = KEY_TILDE, MODIFIERKEY_RIGHT_ALT
by
ASCII_7B = KEY_QUOTE, MODIFIERKEY_RIGHT_ALT
thank you !
As the title says
An error append with encoder (web and command) when i try to encode a "à" (STRING à)
ducktools.py -e -l fr /media/root/DUCKY/Bart.txt /media/root/DUCKY/inject.bin
[+] Reading Input file.
[-] Encoding File
Error parsing duck_text: '\xe0'
[!] Something went wrong
[-] Encoding complete
[-] Writing inject.bin to /media/root/DUCKY/inject.bin
Traceback (most recent call last):
File "/usr/local/bin/ducktools.py", line 69, in
out.write(duck_bin)
TypeError: argument 1 must be string or buffer, not bool
https://docs.hak5.org/hc/en-us/articles/360010555153-Ducky-Script-the-USB-Rubber-Ducky-language seems to imply the NUMLOCK is a supported key but it does not appear in any of the language files
OS/X 10.11.2 (El Capitan), Python versions 2.7.10 (Apple supplied) and 2.7.13 (via Anaconda)
Take the following source (named $HOME/a.txt):
DELAY 3000
GUI r
DELAY 200
STRING notepad
ENTER
DELAY 200
STRING Hello World!!!
ENTER
Encode it with: /usr/bin/python ducktools.py -l us -e $HOME/a.txt inject.bin
then decode it with: /usr/bin/python ducktools.py -l us -d inject.bin test.txt
Results in only the following in the output file test.txt:
DELAY
Run with Anaconda Python located in $HOME/anaconda/bin/python and get the same results.
Version reports:
csadmins-mbp-2:DuckToolkit dyoung2$ python --version
Python 2.7.13 :: Anaconda 4.3.1 (x86_64)
csadmins-mbp-2:DuckToolkit dyoung2$ /usr/bin/python --version
Python 2.7.10
Command needs adding
This is just a mirror of the REPEAT Command
Special keys like æ ø and å is missing from no.json. The python script is also not fully Unicode compatible causing errors when input consists of Unicode characters.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.