Dark C0d3rs
Extract All Links from a Webpage - bug bounty tip - Printable Version

+- Dark C0d3rs (https://darkcoders.wiki)
+-- Forum: SecOps (https://darkcoders.wiki/Forum-SecOps)
+--- Forum: Web & Bug Bounty (https://darkcoders.wiki/Forum-Web-Bug-Bounty)
+--- Thread: Extract All Links from a Webpage - bug bounty tip (/Thread-Extract-All-Links-from-a-Webpage-bug-bounty-tip)



Extract All Links from a Webpage - bug bounty tip - hashXploiter - 02-18-2025

JS to extract all links from a page instantly. Just open your browser console (
F12 → Console) and paste this:

Code:
javascript:console.log('Links on this Page:\n' + Array.from(document.querySelectorAll('a')).map(link => link.href).join('\n'));

Credit:  You are not allowed to view links. Register or Login to view.

#BugBounty #Recon #Pentesting #Hacking #OSINT