Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/extensions/button_deploy.txt
2968 views
1
EXTENSION BUTTON_DEPLOY
2
REM VERSION 1.0
3
REM AUTHOR: Korben
4
5
REM_BLOCK DOCUMENTATION
6
Use this during development to invert the default behavior of the ducky.
7
With this extension the ducky will now be storage by default - pressing the button
8
will start the payload - all subsequent button presses will be default unless
9
redefined by a BUTTON_DEF
10
11
TARGET:
12
Any
13
14
USAGE:
15
Place at the top of your payload
16
17
DEPLOYMENT:
18
Insert into target host, it will appear as storage, press the button to leave storage and start the payload
19
20
IMPORTANT NOTE:
21
Pressing the button will not reload the inject.bin;
22
the duck will still need to be power cycled (removed/reinserted)
23
to test a NEW inject.bin. This is simply a helper/method to
24
avoid accidentally running a payload on your development machine
25
END_REM
26
27
ATTACKMODE STORAGE
28
WAIT_FOR_BUTTON_PRESS
29
ATTACKMODE HID
30
END_EXTENSION
31