Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/examples/Button/Button-example1.txt
2968 views
1
REM WAIT_FOR_BUTTON_PRESS halts payload execution until a button press is detected.
2
REM When this command is reached in the payload, no further execution will occur. The button definition (either set using BUTTON_DEF or the arming-mode default) will be suppressed.
3
4
STRING Press the button...
5
WAIT_FOR_BUTTON_PRESS
6
STRING The button was pressed!
7
8
REM The text "The button was pressed!" will not be typed until the button is pressed.
9
10