Skip to content

Commit ff23177

Browse files
authored
Update index.html
1 parent 1b92698 commit ff23177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,12 @@ <h1>Google Dorks for Bug Bounty - By VeryLazyTech</h1>
219219

220220
const dorkLinks = document.querySelectorAll(".dorkLink");
221221
dorkLinks.forEach((link, index) => {
222-
let originalDork = originalDorks[index]; // Get the original dork for reference
222+
let originalDork = originalDorks[index];
223223

224-
// Only replace the domain part after 'site:', preserving other dork parameters
225224
domains.forEach(domain => {
226225
// This regex matches the site part (site:"domain") and replaces it with the new domain
227226
originalDork = originalDork.replace(/site:"[^"]+"/, `site:"${domain}"`);
227+
originalDork = originalDork.replace(/"example\.com"/g, `"${domain}"`);
228228
});
229229

230230
// Update the href and text of the dork link

0 commit comments

Comments
 (0)