-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
238 lines (202 loc) · 9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Explore powerful Google Dorks curated for bug bounty hunting. Use these search queries to uncover hidden vulnerabilities and sensitive data - by VeryLazyTech.">
<meta name="author" content="VeryLazyTech">
<meta name="keywords" content="Google Dorks, Bug Bounty, VeryLazyTech, Ethical Hacking, Penetration Testing">
<script async defer src="https://buttons.github.io/buttons.js"></script>
<title>Google Dorks for Bug Bounty - By VeryLazyTech</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-color: #9C27B0;
--background-color: #1C1C1C;
--text-color: #ffffff;
--accent-color: #E1BEE7;
--border-color: rgba(255, 255, 255, 0.1);
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
max-width: 900px;
margin: 0 auto;
background-color: var(--background-color);
color: var(--text-color);
padding: 40px 20px;
line-height: 1.6;
}
h1 {
font-size: 2.5em;
margin-bottom: 40px;
background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
}
.search-container {
margin: 32px 0;
text-align: center;
}
label {
display: block;
font-size: 1.1em;
margin-bottom: 10px;
color: #888;
}
input {
width: 100%;
max-width: 500px;
font-size: 1.1em;
padding: 12px 20px;
border: none;
border-bottom: 2px solid var(--border-color);
background-color: rgba(255, 255, 255, 0.05);
color: var(--text-color);
transition: all 0.3s ease;
border-radius: 4px;
}
input:focus {
outline: none;
border-bottom-color: var(--accent-color);
background-color: rgba(255, 255, 255, 0.08);
}
#dorkList {
margin: 40px 0;
padding: 0;
}
li {
padding: 20px 0;
border-bottom: 1px solid var(--border-color);
transition: transform 0.2s ease;
}
li:hover {
transform: translateX(10px);
}
a {
text-decoration: none;
color: var(--text-color);
transition: color 0.2s ease;
}
a:hover {
color: var(--accent-color);
}
p.description {
color: #888;
font-size: 0.9em;
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 1px;
}
.social-links {
text-align: center;
margin: 20px 0;
}
.social-links a {
display: inline-block;
margin: 0 0px;
padding: 4px 8px;
color: #888;
transition: color 0.3s ease;
}
.social-links a:hover {
color: var(--accent-color);
}
@media (max-width: 768px) {
body {
padding: 20px;
}
input {
width: calc(100% - 40px);
}
}
</style>
</head>
<body>
<div class="container">
<h1>Google Dorks for Bug Bounty - By VeryLazyTech</h1>
<div class="social-links">
<a href="https://x.com/verylazytech" target="_blank" rel="noopener">
<img src="https://img.shields.io/twitter/url?url=https%3A%2F%2Fx.com%2Fverylazytech" alt="X Follow">
</a>
<a class="github-button" href="https://github.com/verylazytech/verylazytech.github.io" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-show-count="true" aria-label="Star verylazytech/verylazytech.github.io on GitHub">Star</a> <a href="https://buymeacoffee.com/verylazytech/extras" target="_blank" rel="noopener">
<img src="https://img.shields.io/badge/My%20Shop-verylazytech-%23FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=yellow" alt="My shop">
</a>
<a href="https://www.verylazytech.com" target="_blank" rel="noopener">
<img src="https://img.shields.io/badge/My%20GitBook-VeryLazyTech-%23FFDD00?style=flat&logo=gitbook&logoColor=white" alt="My Gitbook">
</a>
</div>
<div class="search-container">
<label for="domainInput">Enter a domain:</label>
<input type="text" id="domainInput" placeholder="example.com" oninput="updateDomain()">
</div>
</div>
<!-- List to display dorks in the desired style -->
<ul id="dorkList"></ul>
<script>
const dorkListElement = document.getElementById("dorkList");
const domainInput = document.getElementById("domainInput");
let originalDorks = []; // Store original dorks for reference
document.getElementById("domainInput").addEventListener("input", updateDomain);
async function fetchDorks() {
const url = "https://raw.githubusercontent.com/verylazytech/verylazytech.github.io/main/README.md";
const response = await fetch(url);
const text = await response.text();
const regex = /(?:^### (.+)|```([^`]+)```)/gm;
let match, currentTitle = ""; // Track current section title
while ((match = regex.exec(text)) !== null) {
if (match[1]) {
currentTitle = match[1].trim(); // Update the title when found
} else if (match[2]) {
const dork = match[2].trim();
originalDorks.push(dork); // Store dork for later use
// Only append the title once when the first dork appears under a title
if (currentTitle) {
const liElement = document.createElement("li");
const descriptionElement = document.createElement("p");
descriptionElement.classList.add("description");
descriptionElement.textContent = currentTitle;
liElement.appendChild(descriptionElement);
const linkElement = document.createElement("a");
linkElement.classList.add("dorkLink");
linkElement.setAttribute("href", `https://www.google.com/search?q=${encodeURIComponent(dork)}`);
linkElement.setAttribute("target", "_blank");
linkElement.textContent = dork;
liElement.appendChild(linkElement);
dorkListElement.appendChild(liElement);
currentTitle = ''; // Reset the title to prevent repetition
} else {
const liElement = document.createElement("li");
const linkElement = document.createElement("a");
linkElement.classList.add("dorkLink");
linkElement.setAttribute("href", `https://www.google.com/search?q=${encodeURIComponent(dork)}`);
linkElement.setAttribute("target", "_blank");
linkElement.textContent = dork;
liElement.appendChild(linkElement);
dorkListElement.appendChild(liElement);
}
}
}
}
function updateDomain() {
const domains = domainInput.value.split(",").map(domain => domain.trim()).filter(Boolean);
if (domains.length === 0) return;
const dorkLinks = document.querySelectorAll(".dorkLink");
dorkLinks.forEach((link, index) => {
let originalDork = originalDorks[index];
domains.forEach(domain => {
// This regex matches the site part (site:"domain") and replaces it with the new domain
originalDork = originalDork.replace(/site:"[^"]+"/, `site:"${domain}"`);
originalDork = originalDork.replace(/"example\.com"/g, `"${domain}"`);
originalDork = originalDork.replace(/"example\[.]com"/g, `"${domain}"`);
});
// Update the href and text of the dork link
link.href = `https://www.google.com/search?q=${encodeURIComponent(originalDork)}`;
link.textContent = originalDork; // Display updated dork
});
}
fetchDorks();
</script>
</body>
</html>