Recon with BurpSuite
Download and run
- Download Burp Suite
- Run in terminal
Set scope
- Scope --> Use advansed scope control --> Add --> host or IP range == target
Spidering
- Select all host in sitemap and Spider.
- Do it again and again if new hosts are noticed.
Recon for new Subdomains
- Collect new subdimains which is not detected by spider. in request | response body. Note: click + button and check regex && Auto-scroll to match when text changes
Extract endpoints from js file
note: regex taken from Linkfinder by GerbenJavado
(?:"|')(((?:[a-zA-Z]{1,10}://|//)[^"'/]{1,}\.[a-zA-Z]{2,}[^"']{0,})|((?:/|\.\./|\./)[^"'><,;| *()(%%$^/\\\[\]][^"'><,;|()]{1,})|([a-zA-Z0-9_\-/]{1,}/[a-zA-Z0-9_\-/]{1,}\.(?:[a-zA-Z]{1,4}|action)(?:[\?|/][^"|']{0,}|))|([a-zA-Z0-9_\-]{1,}\.(?:php|asp|aspx|jsp|json|action|html|js||xml)(?:\?[^"|^']{0,}|)))(?:"|')