-
Notifications
You must be signed in to change notification settings - Fork 0
/
search-query-gen.html
488 lines (448 loc) · 19.8 KB
/
search-query-gen.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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
<html lang="en">
<head>
<meta charset="utf-8">
<title>SearchQueryGen</title>
<meta name="description" content="SearchQueryGen">
<meta name="author" content="Blazz3">
<link rel="stylesheet" href="">
<link href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAHIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARAAABEREAABEQAAEREQAAAREAAAAAAAAAERAAAAAAAAABEQAAAAAAABEQAAAAAAABEQAAAAAAABEQAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" rel="icon" type="image/x-icon" />
<style>
.content {
margin: auto;
}
body {
color: white;
background-color: black;
}
</style>
<script>
const BLANK = ` `
const CLOUDKB = `
orca.security
www.cloudvulndb.org
snyk.io
research.splunk.com
stratus-red-team.cloud
snyk.io
avd.aquasec.com
gsl.dome9.com
docs.bridgecrew.io
docs.guardrails.io`
const CLOUD = `
0xn3va.gitbook.io
cloudsecdocs.com
cloudsecwiki.com
pentestbook.six2dez.com
hackingthe.cloud
securekubernetes.com
book.hacktricks.xyz
n3t-hunt3r.gitbook.io
infosecwriteups.com
www.aquasec.com
developer.cobalt.io`
const AD = `
3gstudent.github.io
ired.team
labofapenetrationtester.com
specterops.io
harmj0y.net
adsecurity.org
xpnsec.com
rastamouse.me
netspi.com
bohops.com
mdsec.co.uk
ijustwannared.team
thehacker.recipes
digitalwhisper.co.il`
const COURSES = `
freeeducationweb.com
coursedrive.us
freecoursesite.us
coursecatalog.us
learningdl.net
tut4dl.com
technet24.ir
ttorial.com
rstforums.com
sanet.ws`
const WRITEUPS = `
hackerone.com
medium.com
pentester.land/list-of-bug-bounty-writeups.html
github.com/devanshbatham/Awesome-Bugbounty-Writeups
www.rcesecurity.com`
const LOGICAL = `
www.activecyber.us
heynowyouseeme.blogspot.com
enigma0x3.net
www.tiraniddo.dev
googleprojectzero.blogspot.com
posts.specterops.io
www.atredis.com
krbtgt.pw
itm4n.github.io
decoder.cloud
padovah4ck.github.io
amonitoring.ru
offsec.almond.consulting
rhinosecuritylabs.com
blog.diffense.com
billdemirkapi.me
halove23.blogspot.com
ssd-disclosure.com
voidsec.com
labs.redyops.com
www.seljan.hu
zeifan.my
danishcyberdefence.dk
labs.f-secure.com
www.safebreach.com
www.cyberark.com
cymptom.com`
const PENTEST = `
0xdf.gitlab.io
0xsp.com
bitvijays.github.io
blog.securehat.co.uk
book.hacktricks.xyz
burmat.gitbook.io
catharsis.net.au
ceso.github.io
cheatsheet.haax.fr
chickenpwny.github.io
cs.piosky.fr
d00mfist1.gitbooks.io
daniel2005d.gitbook.io
gandosha.github.io
gbhackers.com
guide.offsecnewbie.com
guif.re
hackanythingfor.blogspot.com
hackingandsecurity.blogspot.com
hausec.com
highon.coffee
hunter2.gitbook.io
jackawatt.github.io
kalitut.com
kbase.ayoma.me
malikashish8.github.io
mfnttps.github.io
morph3sec.com
mpgn.gitbook.io
nakkaya.com
nullsweep.com
phonexicum.github.io
ptestmethod.readthedocs.io
pwn.no0.be
scund00r.com
six2dez.gitbook.io
snovvcrash.rocks
sushant747.gitbooks.io
uppusaikiran.github.io
virgil-cj.blogspot.com
wiki.devploit.dev
www.ired.team
www.jaiminton.com
www.jdksec.com
www.kyylee.com
www.redteam.cafe
michmich.eu
ppn.snovvcrash.rocks`
const LINUX = `
gtfobins.github.io
blog.g0tmi1k.com
payatu.com
myexperiments.io
blackwintersecurity.com
community.turgensec.com
hackmag.com
www.hackingdream.net
simplecheatsheet.com
muhammadnasef.com`
const TRICKS = `
awakened1712.github.io
fir3wa1-k3r.github.io
jivoi.github.io
kingx.me
blog.ropnop.com
ebfe.pw
0xdf.gitlab.io`
const WEB = `
ansar0047.medium.com
ardern.io
blog.assetnote.io
blog.cobalt.io
blog.safebuff.com
blog.trailofbits.com
book.hacktricks.xyz
canarytokens.com
corneacristian.medium.com
digi.ninja
gowsundar.gitbook.io
gowthams.gitbook.io
guif.re
hackersonlineclub.com
los.rubiya.kr
m0chan.github.io
medium.com
netsec.expert
owasp.org
pentestmag.com
phonexicum.github.io
portswigger.net
raviramesh.info
six2dez.gitbook.io
snifer.gitbooks.io
sqlwiki.netspi.com
swarm.ptsecurity.com
trustfoundry.net
waf.cumulusfire.net
websec.ca
www.binarybrotherhood.io
www.gracefulsecurity.com
www.hahwul.com
www.infosecmatter.com
www.netsparker.com
www.noob.ninja
www.notion.so
www.notsosecure.com
www.offensity.com
www.onsecurity.io
www.synack.com
www.templarbit.com
www.xss-payloads.com
xapax.gitbooks.io`
const WINDOWS = `
blog.ropnop.com
book.hacktricks.xyz
c0ldstudy.github.io
cas.vancooten.com
casvancooten.com
cheats.philkeeble.com
cs.piosky.fr
dmcxblue.gitbook.io
docs.google.com
gracefulsecurity.com
h4ms1k.github.io
ldapwiki.com
lolbas-project.github.io
m0chan.github.io
medium.com
morph3sec.com
mysecurityjournal.blogspot.com
obscuritylabs.github.io
patchchecker.com
pentest.blog
riccardoancarani.github.io
sec-consult.com
sevrosecurity.com
sh1yan.top
syhack.wordpress.com
tryhackme.com
virgil-cj.blogspot.com
wadcoms.github.io
www.absolomb.com
www.andreafortuna.org
www.fuzzysecurity.com
www.mindmeister.com
www.thehacker.recipes
yoga7xm.top
zer1t0.gitlab.io
cheats.philkeeble.com`
const CHINESE = `
3gstudent.github.io
bbs.kanxue.com
cloud.tencent.com
cn-sec.com
hacky.ren
idiotc4t.com
laolisafe.com
mp.weixin.qq
paper.seebug.org
sec.today
vipread.com
wjlshare.com
www.anquanke.com
www.baidu.com
www.crisprx.top
www.csdn.net
www.digitalwhisper.co
www.freebuf.com
www.leiphone.com
www.so.com
www.zhihu.com
x.hacking8.com
zhuanlan.zhihu.com`
function onlyOne(checkbox) {
var checkboxes = document.getElementsByName('check')
checkboxes.forEach((item) => {
if (item !== checkbox) item.checked = false
})
}
function search() {
var google = document.getElementById("google");
var bing = document.getElementById("bing");
var duckduckgo = document.getElementById("duckduckgo");
var baidu = document.getElementById("baidu");
if (google.checked){
var search_engine = "https://google.com/search?q=";
}
else if(bing.checked){
var search_engine = "https://bing.com/search?q=";
}
else if(duckduckgo.checked){
var search_engine = "https://duckduckgo.com/?q=";
}
else if(baidu.checked){
var search_engine = "https://www.baidu.com/s?wd=";
}
else if(qihoo.checked){
var search_engine = "https://www.so.com/s?q=";
}
var word = document.getElementById("word").value;
var opt = document.getElementById("opts").value;
var spl = document.getElementById("split").value;
if (spl != "") {
var chunk_n = parseInt(spl);
}
else {
var chunk_n = 30;
}
if (word != "") {
if (opt == 1) {
var terms = AD.split("\n\t\t");
}
else if (opt == 2) {
var terms = COURSES.split("\n\t\t");
}
else if (opt == 3) {
var terms = WRITEUPS.split("\n\t\t");
}
else if (opt == 4) {
var terms = LOGICAL.split("\n\t\t");
}
else if (opt == 5) {
var terms = PENTEST.split("\n\t\t");
}
else if (opt == 6) {
var terms = LINUX.split("\n\t\t");
}
else if (opt == 7) {
var terms = TRICKS.split("\n\t\t");
}
else if (opt == 8) {
var terms = WEB.split("\n\t\t");
}
else if (opt == 9) {
var terms = WINDOWS.split("\n\t\t");
}
else if (opt == 10) {
var terms = CLOUD.split("\n\t\t");
}
else if (opt == 11) {
var terms = CLOUDKB.split("\n\t\t");
}
else if (opt == 12) {
var terms = CHINESE.split("\n\t\t");
}
else if (opt == 13) {
var terms = BLANK.split("\n\t\t");
}
}
terms = terms.filter(item => item);
var i,j, temporary, chunk = chunk_n;
for (i = 0,j = terms.length; i < j; i += chunk) {
temporary = terms.slice(i, i + chunk);
if (opt != 13) {
var newtemp = temporary.map(item => 'site:' + item);
let finalt_split = word.split(" ");
let final_word = "";
for (i in finalt_split) {
final_word+= '"' + finalt_split[i] + '" ';
}
var finalt = final_word + ' ' + newtemp.join(' OR ');
//var finalt = word + ' ' + newtemp.join(' ');
}
else {
var newtemp = temporary.map(item => '' + item);
let finalt_split = word.split(" ");
let final_word = "";
for (i in finalt_split) {
final_word+= '"' + finalt_split[i] + '" ';
}
var finalt = final_word + '' + newtemp.join('');
//var finalt = word + ' ' + newtemp.join(' ');
}
window.open(search_engine + finalt);
}
}
</script>
</head>
<body>
<div style="text-align: center;">
<pre>
ryGen hQ Searc enSea
GenSea er archQue SearchQ
Se Ge hQ yG rc er
rc GenSea Query nSea hQuery Search er nS rc ue GenSea Quer en ar Qu earchQ ryGenS
ueryG Se ch en ar h er en rc ue Ge ar Qu yG Se ch ry e ea hQ ry enSe ch er en ar
nS rchQue enSea hQ Ge Qu yG Se hQ ry nS rchQue en ch er en earc ueryGe ea hQ
ar Query Search er Se ry nS rc er en ar Query ea ue Ge ea Qu yGenS ch er
hQ ry rc ue Ge rc ue en ar Qu yGe ea hQ ry ch yGenSe ch ery nS ue Ge
chQue nSear ueryG Se uery ea hQ yGenS hQuer nSear ue Se rc eryGe rchQu yG Se
rc Qu
u er
</pre>
</div>
<div class="content">
<form action="" onsubmit="event.preventDefault(); return search();">
<div style="text-align: center;">
<label for="word">Word:</label>
<input type="text" id="word" name="word" autofocus><br><br>
</div>
<div style="text-align: center;">
<label for="opts">Option:</label>
<select id="opts">
<option value="1">AD-Hacking</option>
<option value="2">IT-Courses</option>
<option value="3">BB-WriteUps</option>
<option value="4">LogicalBugs</option>
<option value="5">Pentest</option>
<option value="6">Linux</option>
<option value="7">Tricks</option>
<option value="8">Web</option>
<option value="9" selected="">Windows</option>
<option value="10">Cloud</option>
<option value="11">CloudKB</option>
<option value="12">Chinese</option>
<option value="13">BLANK</option>
</select>
<button type="submit">Search</button>
</div><br>
<div style="text-align: center;">
<label for="word">Split at:</label>
<input type="split" id="split" name="split" value="30"><br><br>
</div>
<div style="text-align: center;">
<div>
<input type="checkbox" id="google" name="check" value="google" onclick="onlyOne(this)" checked>
<label for="google">Google</label><br>
<input type="checkbox" id="bing" name="check" value="bing" onclick="onlyOne(this)">
<label for="bing">Bing</label><br>
<input type="checkbox" id="duckduckgo" name="check" value="duckduckgo" onclick="onlyOne(this)">
<label for="duckduckgo">DuckDuckGo</label><br>
<input type="checkbox" id="baidu" name="check" value="baidu" onclick="onlyOne(this)">
<label for="baidu">Baidu</label><br>
<input type="checkbox" id="qihoo" name="check" value="qihoo" onclick="onlyOne(this)">
<label for="qihoo">Qihoo360</label><br><br>
</div>
</div>
</form>
</div>
</body>
</html>