subdog collects subdomains from number of different sources to create a list of root subdomains (i.e.: corp.example.com)
- Note: subdog tool gives unfiltered data it can be appex domain or subdomains. you have to filter manually for e.g,
grep ".domain.com$"
go install github.com/rix4uni/subdog@latest
wget https://github.com/rix4uni/subdog/releases/download/v0.0.2/subdog-linux-amd64-0.0.2.tgz
tar -xvzf subdog-linux-amd64-0.0.2.tgz
rm -rf subdog-linux-amd64-0.0.2.tgz
mv subdog ~/go/bin/subdog
Or download binary release for your platform.
git clone --depth 1 github.com/rix4uni/subdog.git
cd subdog; go install
Usage of subdog:
-silent
silent mode.
-tools string
Choose tools: subdomaincenter, jldc, virustotal, alienvault, urlscan, certspotter, hackertarget, crtsh, trickest, subdomainfinder, chaos, merklemap, or all (default "all")
-verbose
enable verbose mode
-version
Print the version of the tool and exit.
- Run with
subdomaincenter
only:
echo "dell.com" | subdog -tools subdomaincenter
- Run with multiple tools comma-seprated
subdomaincenter
andjldc
:
echo "dell.com" | subdog -tools subdomaincenter,virustotal
- Run with all tools, (default):
echo "dell.com" | subdog -tools all
- Run with
subdomaincenter
only:
cat wildcards.txt | subdog -tools subdomaincenter
- Run with multiple tools comma-seprated
subdomaincenter
andjldc
:
cat wildcards.txt | subdog -tools subdomaincenter,virustotal
- Run with all tools, (default):
cat wildcards.txt | subdog -tools all