diff --git a/smartrecon.sh b/smartrecon.sh index 6fcc9e5..fa8f21c 100644 --- a/smartrecon.sh +++ b/smartrecon.sh @@ -102,7 +102,7 @@ searchcrtsh(){ echo "${green}Checking http://crt.sh ${reset}" ~/tools/massdns/scripts/ct.py $domain 2>/dev/null > ./$domain/$foldername/tmp.txt [ -s ./$domain/$foldername/tmp.txt ] && cat ./$domain/$foldername/tmp.txt | ~/tools/massdns/bin/massdns -r ~/tools/massdns/lists/resolvers.txt -t A -q -o S -w ./$domain/$foldername/crtsh.txt - cat ./$domain/$foldername/$domain.txt | ~/tools/massdns/bin/massdns -r ~/tools/massdns/lists/resolvers.txt -t A -q -o S -w ./$domain/$foldername/domaintemp.txt + cat ./$domain/$foldername/$domain.txt | sort -u | ~/tools/massdns/bin/massdns -r ~/tools/massdns/lists/resolvers.txt -t A -q -o S -w ./$domain/$foldername/domaintemp.txt }