usbrubberducky-payloads/payloads/examples/Payload Control/Payload-Control-example2.txt

1 line
251 B
Plaintext

REM Example STOP_PAYLOAD
ATTACKMODE HID STORAGE
DELAY 2000
BUTTON_DEF
STOP_PAYLOAD
END_BUTTON
WHILE TRUE
RANDOM_CHARACTER
END_WHILE
REM The payload will continuously type a random character.
REM Pressing the button will stop the payload.