sub.sh
sub.sh copied to clipboard
Multiprocessing(Parallel)Subdomain Detect Script
π―πΈπ Multiprocessing(Parallel)Subdomain Detect Script 
β¨ πΊSub.sh but without API key π»
https://github.com/cihanmehmet/sub.sh
βΌοΈ jq , httprobe and parallel required π
π β Used Services
+ https://crt.sh
+ http://web.archive.org
+ https://dns.bufferover.run
+ https://www.threatcrowd.org
+ https://api.hackertarget.com
+ https://certspotter.com
+ https://jldc.me/
+ https://www.virustotal.com
+ https://otx.alienvault.com
+ https://urlscan.io
+ https://api.threatminer.org
+ https://ctsearch.entrust.com
+ https://riddler.io
+ https://dnsdumpster.com
+ https://rapiddns.io
[-] Removed service
- https://suip.biz (Amass,Subfinder,Findomain)
# π¨ Used Passive Scan Tool
+ Findomain
+ Subfinder
+ Assetfinder
π’ USAGE π‘
Script Usage π―
Small Scan
./sub.sh -s webscantest.com
curl -sL https://git.io/JesKK | bash /dev/stdin -s webscantest.com
All Scan
./sub.sh -a webscantest.com
πΈ Required tool automatic install
./sub.sh -i
If you already have a GO, you should make the following settings;
nano ~/.bashrc or nano ~/.zshrc
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
source ~/.bashrc ; source ~/.zshrc
The following tools working with go language have been installed.
go get -u github.com/tomnomnom/httprobe
go get -u github.com/projectdiscovery/subfinder/cmd/subfinder
go get -u github.com/tomnomnom/assetfinder
go get -v -u github.com/OWASP/Amass/v3/...
Demo
Use this link to test Sub.sh directly in your browser:
π π Subdomain Detect Terminal Shortcut Function
nano ~/.zshrc
or
nano ~/.bashrc
function subdomain() { curl -sL https://git.io/JesKK | bash /dev/stdin "$1" "$2" }
π‘ Usage
subdomain webscantest.com
|