Skip to content

CapibaraZero/DuckyESP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DuckyESP

DuckyESP is an interpreter of Duckyscript™ language, it can parse Hak5® Rubber Ducky™ payload and execute the same commands on ESP32-S2/S3.

It fully supports Duckyscript 1.0 and almost all 3.0

Supported keywords, as per Duckyscript docs

Keyword Supported
STRING/STRINGLN
DELAY
DEFAULT_DELAY
Cursor keys
Modifier keys
Lock keys
System keys
Key modifier combo
REM
REM_BLOCK
WAIT_FOR_BUTTON_PRESS ⚠️
BUTTON_DEF
DISABLE_BUTTON
ENABLE_BUTTON
LED_G/LED_R/LED_OFF
Attackmode
DEFINE
VAR
Operators
Conditional statements
Loops
Functions
Randomization
Jitter
Wait for lock keys ⚠️
  • Wait for lock keys can be parsed but implementation is not available yet.
  • Wait for button press can be parsed but implementation is not available yet.
  • The other keywords(also the one that there aren't in the table) will be available in future

Layout

If you want to use a different layout from en_US you can put LAYOUT command at the begin of the script. More info here

Integrate with a project

Make sure that flex, bison and make are installed.

Then include the library using the git URL and follow the usage in example/ folder to use it.

License

This project is licensed under the GNU General Public License - see the LICENSE.md file for details.

About

DuckyScript interpreter for ESP32S2/S3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Yacc 56.8%
  • Lex 39.1%
  • Python 3.6%
  • Makefile 0.5%