File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments