Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 324 Bytes

extract-urls.md

File metadata and controls

11 lines (10 loc) · 324 Bytes

To extract all the url from html element in any web site you have visited. Who knows you might get the ssrf or sensitive link from this. Open DevTools and run...

urls = []
$$('*').forEach(element => {
  urls.push(element.src)
  urls.push(element.href)
  urls.push(element.url)
}); console.log(...new Set(urls))