Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Fix & update resolvers list

six2dez8967c17f4986
diff --git a/reconftw.sh b/reconftw.sh
index 56a70b3..0d96cee 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1792,6 +1792,10 @@ function resolvers_update(){
notification "Resolvers seem older than 1 day\n Generating custom resolvers..." warn
eval rm -f $resolvers 2>>"$LOGFILE"
dnsvalidator -tL https://public-dns.info/nameservers.txt -threads 100 -o $resolvers &>/dev/null
+ dnsvalidator -tL https://raw.githubusercontent.com/blechschmidt/massdns/master/lists/resolvers.txt -threads 100 -o tmp_resolvers &>/dev/null
+ cat tmp_resolvers | anew -q $resolvers
+ rm -f tmp_resolvers &>/dev/null
+ [ ! -s "$resolvers" ] && wget -O $resolvers https://raw.githubusercontent.com/proabiral/Fresh-Resolvers/master/resolvers.txt &>/dev/null
notification "Updated\n" good
fi
else