Skip to content

Commit 3af1f3a

Browse files
committed
Update smartrecon.sh
1 parent 224b97c commit 3af1f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smartrecon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ searchcrtsh(){
102102
echo "${green}Checking http://crt.sh ${reset}"
103103
~/tools/massdns/scripts/ct.py $domain 2>/dev/null > ./$domain/$foldername/tmp.txt
104104
[ -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
105-
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
105+
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
106106
}
107107

108108

0 commit comments

Comments
 (0)