Last active
April 15, 2024 18:43
-
-
Save KathanP19/6801aaa838f5b03d0b10cfc85775ace6 to your computer and use it in GitHub Desktop.
simple bash script
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 | |
echo -e "\e[32mRunning Findomain on $1 \e[0m"; | |
findomain -t $1 -u domain_$1.txt | |
echo -e "\e[32m Running assetfinder on $1 \e[0m"; | |
assetfinder --subs-only $1 >> domain_$1.txt | |
echo -e "\e[32mRunning Subfinder on $1 \e[0m"; | |
subfinder -d $1 -silent >> domain_$1.txt | |
echo -e "\e[32mCleaning Subs \e[0m"; | |
cat domain_$1.txt | sort -u >> domain_$1.tmp | |
rm domain_$1.txt | |
mv domain_$1.tmp domain_$1.txt | |
echo -e "\e[32m Done. \e[0m"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment