Skip to content

cihanmehmet/sub.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

07b9690 Β· Jul 18, 2020

History

99 Commits
Jul 18, 2020
Feb 5, 2020
Jul 18, 2020

Repository files navigation

πŸŽ―πŸ•ΈπŸ“˜ Multiprocessing(Parallel)Subdomain Detect Script CMD

✨ πŸ”ΊSub.sh but without API key πŸ”»

‼️ 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

image

πŸ”Έ 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:

Open in Cloud Shell


πŸ”‘ πŸ“œ 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

image



CMD

Cihan Mehmet DOĞAN

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

🚩 πŸ’» I am open to suggestions for improvement.

Twitter:

About

Multiprocessing(Parallel)Subdomain Detect Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages