An automation tool that scans sub-domains, sub-domain takeover and then filters out xss, ssti, ssrf and more injection point parameters.
-
Requirements: Go Language, Python 2.7 or Python 3.
-
System requirements: Recommended to run on vps with 1VCPU and 2GB ram.
-
Tools used - You must need to install these tools to use this script
- SubFinder
- Sublist3r
- GF Patterns
- Get Title
- Gau
- Subzy
- Subjack: save fingerprints.json file into ~/tools/ directory.
- Assetfinder
- HTTPX
- Waybackurls
-
Installation
git clone https://github.com/muneebwanee/SubScanner.git && cd SubScanner/ && chmod x SubScanner && mv SubScanner /usr/local/bin/
- Usage
SubScanner -d target.com -f filename
I made this tool to automate my recon and save my time. It really give me headache always type such command and then wait to complete one command and I type other command. So I collected some of the tools which is widely used in the bugbounty field. In this script I used Assetfinder, get-titles, httprobe, subjack, subzy, sublister, gau and gf patterns.
The script first enumerates all the subdomains of the give target domain using assetfinder and sublister then filters all live domains from the whole subdomain list then it extarct titles of the subdomains using get-title then it scans for subdomain takeover using subjack and subzy. Then it uses gau to extract paramters of the given subdomains then it use gf patterns to filters xss, ssti, ssrf, sqli params from that given subdomains. Then it'll save all the output in a text file like target-xss.txt.
Warning: This code was originally created for personal use, it generates a substantial amount of traffic, please use with caution.