ryanshatch / Rubber-Ducky-Scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rubber Ducky Scripting Commands

Rubber Ducky scripts use a simple syntax to simulate keyboard input.
Below are some common commands you can use in your scripts.

Common Commands:

  • REM: Comment
  • DELAY: Pause for a specified number of milliseconds
  • STRING: Type a string of characters
  • ENTER: Press the Enter key
  • MENU: Press the Windows key or Command key on Mac
  • ALT: Hold the Alt key
  • CONTROL or CTRL: Hold the Control key
  • SHIFT: Hold the Shift key
  • GUI: Hold the Windows key or Command key on Mac

Windows Specific Commands:

  • WINDOWS: Hold the Windows key

Linux Specific Commands:

  • COMMAND: Hold the Command key

iOS Specific Commands:

  • GUI h: Simulate pressing the Home button.
  • GUI SPACE: Open Spotlight Search.
  • STRING [text]: Type the specified text.
  • ENTER: Simulate pressing the Enter key.
  • DOWN ARROW: Navigate down in menus or lists.
  • UP ARROW: Navigate up in menus or lists.
  • RIGHT ARROW: Navigate right in menus or lists.
  • LEFT ARROW: Navigate left in menus or lists.
  • SPACE: Simulate pressing the Space key.
  • GUI t: Open a new tab in Safari.
  • GUI l: Focus on the address bar in Safari.
  • GUI SHIFT 4: Take a screenshot.
  • BACKSPACE: Simulate pressing the Backspace key.
  • TAB: Move focus to the next control element.
  • GUI n: Open a new message or email.
  • GUI v: Paste from clipboard.
  • GUI SHIFT d: Send an email in the Mail app.

These commands enable functionalities from basic navigation and text entry to specific actions like taking screenshots or sending emails.
To use these commands, ensure Full Keyboard Access is enabled on your iOS device.

Combining Keys:

  • CTRL-ALT: Hold the Control and Alt keys
  • CTRL-SHIFT: Hold the Control and Shift keys
  • CTRL-ALT-SHIFT: Hold the Control, Alt, and Shift keys

Examples:

  • CTRL ALT DEL: Press Control, Alt, and Delete keys together
  • CTRL SHIFT ESC: Press Control, Shift, and Escape keys together
  • CTRL ALT T: Open terminal in Linux

About


Languages

Language:Markdown 100.0%