Skip to content

cihanmehmet/sub.sh

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

✨ πŸ”Ί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

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