Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/examples/Button/Button-example7.txt
2968 views
1
REM The DISABLE_BUTTON command prevents the button from calling the BUTTON_DEF.
2
3
BUTTON_DEF
4
STRING This will never execute
5
END_BUTTON
6
7
DISABLE_BUTTON
8
9
STRING The button is disabled
10
WHILE TRUE
11
STRING .
12
DELAY 1000
13
END_WHILE
14
15
16
REM The DISABLE_BUTTON command disables the BUTTON_DEF.
17
REM The button definition which types "This will never execute", will never execute — even if the button is pressed.
18
19