Skip to content

WHID Software SCRIPTING SYNTAX

Remote WiFi HID Keyboard Injector edited this page Apr 28, 2017 · 5 revisions

The plan is to rewrite the sketch in order to be compatible with Rubberducky's Syntax though.


Writing a Payload:
* For individual keypresses or combinations of key presses
"Press:X" or "Press:X+Y" or "Press:X+Y+Z" and so forth.
(It expects DECIMAL Values for X,Y,Z,etc)
[Example: "Press:131+114" would output KEY_LEFT_GUI(Windows_Key)+r thus launching the run prompt if connected to a Windows machine]
* List of modifier keys(GUI,ALT,CTRL,ETC) at https://www.arduino.cc/en/Reference/KeyboardModifiers
* ASCII table lookup at http://www.asciitable.com/

To type out strings of text
"Print:XYZ" Types out "XYZ"

To type out strings of text followed by the ENTER Key
"PrintLine:XYZ" Types out "XYZ" then presses enter

Decimal Keys Reference

Key Decimal value
KEY_LEFT_CTRL 128
KEY_LEFT_SHIFT 129
KEY_LEFT_ALT 130
KEY_LEFT_GUI 131
KEY_RIGHT_CTRL 132
KEY_RIGHT_SHIFT 133
KEY_RIGHT_ALT 134
KEY_RIGHT_GUI 135
KEY_UP_ARROW 218
KEY_DOWN_ARROW 217
KEY_LEFT_ARROW 216
KEY_RIGHT_ARROW 215
KEY_BACKSPACE 178
KEY_TAB 179
KEY_RETURN 176
KEY_ESC 177
KEY_INSERT 209
KEY_DELETE 212
KEY_PAGE_UP 211
KEY_PAGE_DOWN 214
KEY_HOME 210
KEY_END 213
KEY_CAPS_LOCK 193
KEY_F1 194
KEY_F2 195
KEY_F3 196
KEY_F4 197
KEY_F5 198
KEY_F6 199
KEY_F7 200
KEY_F8 201
KEY_F9 202
KEY_F10 203
KEY_F11 204
KEY_F12 205

Clone this wiki locally