Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/examples/Holding Keys/Holding-Keys-example3.txt
2968 views
1
REM Example holding multiple keys
2
3
ATTACKMODE HID STORAGE
4
DELAY 2000
5
6
STRING iddqd
7
DELAY 500
8
9
WHILE TRUE
10
STRING idkfa
11
DELAY 500
12
HOLD LEFTARROW
13
HOLD UPARROW
14
INJECT_MOD
15
HOLD CONTROL
16
DELAY 5000
17
INJECT_MOD
18
RELEASE CONTROL
19
RELEASE UPARROW
20
RELEASE LEFTARROW
21
DELAY 500
22
END_WHILE
23
24
25
REM Answering the age old question, "will it run doom?", this payload proves the 1993 classic first-person shooter no match for the USB Rubber Ducky.
26
REM More specifically, this payload will cause Doom Guy to walk in circles firing his weapon.
27