Skip to content

cihanmehmet/sub.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 

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