diff --git a/index.html b/index.html index 1011f4b..2ea43c6 100644 --- a/index.html +++ b/index.html @@ -219,12 +219,12 @@

Google Dorks for Bug Bounty - By VeryLazyTech

const dorkLinks = document.querySelectorAll(".dorkLink"); dorkLinks.forEach((link, index) => { - let originalDork = originalDorks[index]; // Get the original dork for reference + let originalDork = originalDorks[index]; - // Only replace the domain part after 'site:', preserving other dork parameters 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}"`); }); // Update the href and text of the dork link