-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
351 lines (280 loc) · 12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<!DOCTYPE html>
<html>
<head>
<title>LDAP Enumeration & Query Generator</title>
<link rel="stylesheet" type="text/css" href="./styles.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="./main.js"></script>
</head>
<body data-theme="light">
<div class="text-center">
<!-- header -->
<div class="top light">
<a href="https://github.com/mohinparamasivam/ldap-enumeration-query-generator" class="github-corner"
aria-label="View source on GitHub" target="_blank">
<img src="github.png" alt="GitHub Logo" style="width: 120px; height: 40px;">
</a>
<button class="fa-solid fa-circle-half-stroke" id="Switch-Color"></button>
<h1>LDAP Enumeration & Query Generator</h1>
<div class="center">
<!-- LDAP Server IP -->
<div class="input-group">
<span class="input-group-text">LDAP IP</span>
<div class="form-floating">
<input type="text" class="form-control" id="LDAP_IP" placeholder="IP address" />
<label for="LDAP_IP">IP address</label>
</div>
<!-- LDAP Server IP end -->
<!-- LDAP Server PORT -->
<span class="input-group-text">LDAP Port</span>
<div class="form-floating">
<input type="text" class="form-control" id="LDAP_PORT" placeholder="Port" />
<label for="LDAP_PORT">Port</label>
</div>
<!-- LDAP Server PORT end -->
</div>
<!-- Domain Name -->
<div class="input-group">
<span class="input-group-text">Domain</span>
<div class="form-floating">
<input type="text" class="form-control" id="Domain" placeholder="Domain Name" />
<label for="Domain">cyberbotic.local</label>
</div>
</div>
<!-- Domain Name End-->
<br>
</div>
</div>
<!-- header end -->
<!-- body -->
<div class="body">
<!-- Tab links -->
<div class="tab">
<button class="tablinks" onclick="ChangeTab(event, 'PreBuiltQuery')" id="PreBuiltOpen"> Pre-Built Queries </button>
<button class="tablinks" onclick="ChangeTab(event, 'Custom')"> Custom Query Builder </button>
</div>
<!--Tab links end -->
<!-- PreBuiltQuery Mode -->
<div id="PreBuiltQuery" class="tabcontent">
<br>
<h3>Pre-Built Mode</h3>
<div class="center">
<div class="text-start">
<div class="form-floating">
<select class="form-select" id="PreBuilt-Mode">
</select>
<label for="Pre-Built Queries">Pre-Built Queries</label>
</div>
<br><br>
<!-- ADSearch Command -->
<div class="input-group">
<span class="input-group-text">ADSearch :</span>
<div class="form-floating">
<input type="text" class="form-control" id="ADSearch_Command" readonly />
<label for="ADSearch_Command">ADSearch Command</label>
</div>
<div class="comment">
<button class="btn btn-outline-secondary light" type="button" id="Copy" data-id="ADSearch_Command">
<span class="commenttext">Copy to clipboard</span> Copy text </button>
</div>
</div>
<!-- ADSearch Command end -->
<br><br>
<!-- LDAPSearch Command -->
<div class="input-group">
<span class="input-group-text">LDAPSearch :</span>
<div class="form-floating">
<input type="text" class="form-control" id="LDAPSearch_Command" readonly />
<label for="LDAPSearch_Command">LDAPSearch Command</label>
</div>
<div class="comment">
<button class="btn btn-outline-secondary light" type="button" id="Copy" data-id="LDAPSearch_Command">
<span class="commenttext">Copy to clipboard</span> Copy text </button>
</div>
</div>
<!-- LDAPSearch Command end -->
<br><br>
<!-- Raw Command -->
<div class="input-group">
<span class="input-group-text">Raw LDAP Query :</span>
<div class="form-floating">
<input type="text" class="form-control" id="RAW_Command" readonly />
<label for="RAW_Command">Raw Query</label>
</div>
<div class="comment">
<button class="btn btn-outline-secondary light" type="button" id="Copy" data-id="RAW_Command">
<span class="commenttext">Copy to clipboard</span> Copy text </button>
</div>
</div>
<!-- Raw Command end -->
<br><br>
</div>
</div>
</div>
<!-- PreBuiltQuery Mode end -->
<!-- Custom Query Builder -->
<div id="Custom" class="tabcontent">
<br>
<h3>Custom Query Builder</h3>
<br>
<div class="center">
<div class="container text-start">
<div class="row">
<!-- Object Class -->
<div class="col">
<h4>Object Category</h4>
<br>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="user" />
<label class="form-check-label custom-label" for="user">User</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="computer" />
<label class="form-check-label custom-label" for="computer">Computer</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="group" />
<label class="form-check-label custom-label" for="group">Group</label>
</div>
</div>
<!-- Object Clas end -->
<!-- Attributes Column -->
<div class="col">
<div class="attribute-column">
<center><h4>Attributes</h4></center>
<div class="form-floating">
<select class="form-select" id="Attribute1">
</select>
<label for="Attribute1">Attribute1</label>
</div>
<div class="form-floating">
<select class="form-select" id="Attribute2">
</select>
<label for="Attribute2">Attribute2</label>
</div>
<div class="form-floating">
<select class="form-select" id="Attribute3">
</select>
<label for="Attribute1">Attribute3</label>
</div>
</div>
</div>
<!-- Attributes Column End-->
<!-- SearchValue Column -->
<div class="col">
<div class="searchvalue-column">
<div class="center-align">
<h4 class="searchvalue-header">SearchValue</h4>
</div>
<br>
<input class="form-control" id="SearchValue1">
<br><p></p>
<input class="form-control" id="SearchValue2">
<br><p></p>
<input class="form-control" id="SearchValue3">
<br><br>
</div>
</div>
<!-- SearchValue Column End-->
<!-- Attributes Column -->
<div class="col">
<div class="condition-column">
<center><h4>Condition</h4></center>
<div class="form-floating">
<select class="form-select" id="Condition1">
</select>
<label for="Condition1">Condition1</label>
</div>
<div class="form-floating">
<select class="form-select" id="Condition2">
</select>
<label for="Condition2">Condition2</label>
</div>
<div class="form-floating">
<select class="form-select" id="Condition3">
</select>
<label for="Condition3">Condition3</label>
</div>
</div>
</div>
<!-- Attributes Column End-->
</div> <!-- End of First Row of the webpage -->
<br><br><br><br><br><br>
<!-- Second Row of the webpage -->
<div class="row">
<!-- Additional Attributes Count -->
<div class="col">
<div class="additional-attributes text-center">
<br><br>
<h4>Additional Attributes Count</h4>
<br>
<div class="input-container">
<div class="plus-minus-box">
<button class="minus-btn">-</button>
<input type="number" class="num" id="num" value="1" readonly>
<button class="plus-btn">+</button>
</div>
</div>
</div>
</div>
<!-- Additional Attributes Count End-->
</div>
<!-- End of Second Row of the webpage -->
<br><br>
<!-- ADSearch Command -->
<div class="input-group">
<span class="input-group-text">ADSearch :</span>
<div class="form-floating">
<input type="text" class="form-control" id="ADSearch_Command_Custom" readonly />
<label for="ADSearch_Command">ADSearch Command</label>
</div>
<div class="comment">
<button class="btn btn-outline-secondary light" type="button" id="Copy" data-id="ADSearch_Command_Custom">
<span class="commenttext">Copy to clipboard</span> Copy text </button>
</div>
</div>
<!-- ADSearch Command end -->
<br><br>
<!-- LDAPSearch Command -->
<div class="input-group">
<span class="input-group-text">LDAPSearch :</span>
<div class="form-floating">
<input type="text" class="form-control" id="LDAPSearch_Command_Custom" readonly />
<label for="LDAPSearch_Command">LDAPSearch Command</label>
</div>
<div class="comment">
<button class="btn btn-outline-secondary light" type="button" id="Copy" data-id="LDAPSearch_Command_Custom">
<span class="commenttext">Copy to clipboard</span> Copy text </button>
</div>
</div>
<!-- LDAPSearch Command end -->
<br><br>
<!-- Raw Command -->
<div class="input-group">
<span class="input-group-text">Raw LDAP Query :</span>
<div class="form-floating">
<input type="text" class="form-control" id="RAW_Command_Custom" readonly />
<label for="RAW_Command">Raw Query</label>
</div>
<div class="comment">
<button class="btn btn-outline-secondary light" type="button" id="Copy" data-id="RAW_Command_Custom">
<span class="commenttext">Copy to clipboard</span> Copy text </button>
</div>
</div>
<!-- Raw Command end -->
<br><br>
</div>
</div>
</div>
</div>
</div>
<!-- Custom Query Builder end-->
<!-- body end -->
<!-- footer -->
<div class="btm light text-center">Created by Mohin Paramasivam (Shad0wQu35t)</div>
<!-- footer end -->
</div>
</body>
</html>