Created
October 30, 2019 02:34
-
-
Save hexrom/34ca732e2b74b2ccd425db00e551ea10 to your computer and use it in GitHub Desktop.
Find deeper subdomains by automating the scanning of all found third level subdomains with Sublist3r
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script automates running Sublist3r against all third-level subdomains. | |
mkdir thirdlevels | |
echo "Gathering full third-level domains with Sublist3r..." | |
for domain in $(cat third-level.txt); do sublist3r -d $domain -o thirdlevels/$domain.txt; cat thirdlevels/$domain.txt |sort -u >> final.txt; | |
echo "Probing for alive third-levels..." | |
cat final.txt | httprobe > probed.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment