Skip to content

DuckyScript interpreter for ESP32S2/S3

License

Notifications You must be signed in to change notification settings

CapibaraZero/DuckyESP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 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 ⚠️
  • Attackmode can be parsed but implementation is not available yet.
  • 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

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 57.2%
  • Lex 38.6%
  • Python 3.7%
  • Makefile 0.5%