Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cihanmehmet/sub.sh
Multiprocessing(Parallel)Subdomain Detect Script
https://github.com/cihanmehmet/sub.sh
Last synced: about 2 months ago
JSON representation
Multiprocessing(Parallel)Subdomain Detect Script
- Host: GitHub
- URL: https://github.com/cihanmehmet/sub.sh
- Owner: cihanmehmet
- Created: 2019-09-22T15:05:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-28T14:18:35.000Z (8 months ago)
- Last Synced: 2024-07-04T05:35:10.929Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 119 KB
- Stars: 325
- Watchers: 17
- Forks: 85
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-bbht - sub.sh - Online Subdomain Detect Script (Subdomain-enum)
- awesome-bbht - sub.sh - Online Subdomain Detect Script (Subdomain-enum)
- awesome-hacking-lists - cihanmehmet/sub.sh - Multiprocessing(Parallel)Subdomain Detect Script (Shell)
README
# π―πΈπ Multiprocessing(Parallel)Subdomain Detect Script [![CMD](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
## β¨ πΊSub.sh but without API key π»
## https://github.com/cihanmehmet/sub.sh
## βΌοΈ [jq](https://stedolan.github.io/jq/download/) , [httprobe](https://github.com/tomnomnom/httprobe) and [parallel](https://www.gnu.org/software/parallel/parallel_tutorial.html) required π
## π β Used Services
```diff
+ 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
```powershell
./sub.sh -s webscantest.com
```
```powershell
curl -sL https://git.io/JesKK | bash /dev/stdin -s webscantest.com
```
### All Scan
```powershell
./sub.sh -a webscantest.com
```
![image](https://i.imgur.com/FuIh0wQ.png)## πΈ Required tool automatic install
```powershell
./sub.sh -i
```
### If you already have a GO, you should make the following settings;
```powershell
nano ~/.bashrc or nano ~/.zshrc
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
```
```powershell
source ~/.bashrc ; source ~/.zshrc
```
### The following tools working with go language have been installed.
```powershell
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](https://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/cihanmehmet/sub.sh&tutorial=README.md)- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
## π π Subdomain Detect Terminal Shortcut Function
### nano ~/.zshrc
or
### nano ~/.bashrc```powershell
function subdomain() { curl -sL https://git.io/JesKK | bash /dev/stdin "$1" "$2" }
```
## π‘ Usage
```powershell
subdomain webscantest.com
```
![image](https://i.imgur.com/L2sufiT.png)- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CMD
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
## :triangular_flag_on_post: π» I am open to suggestions for improvement.
## Twitter: