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

Bufferover added to crt subs

six2dez4873b898fdf0
diff --git a/reconftw.sh b/reconftw.sh
index 1f4063b..ba1182b 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -290,6 +290,11 @@ sub_crt(){
fi
eval rm ${outputfile}.txt $DEBUG_ERROR
cd $dir
+ if [ "$FULLSCOPE" = true ] ; then
+ curl "https://tls.bufferover.run/dns?q=${domain}" 2>/dev/null | jq -r .Results[] | cut -d ',' -f3 | sort -u | anew -q crtsh_subs.txt
+ else
+ curl "https://tls.bufferover.run/dns?q=${domain}" 2>/dev/null | jq -r .Results[] | cut -d ',' -f3 | sort -u | grep -F ".$domain" | anew -q crtsh_subs.txt
+ fi
NUMOFLINES=$(wc -l < crtsh_subs.txt)
getElapsedTime $start $end
printf "${green} ${NUMOFLINES} crtsh subdomains found in ${runtime}${reset}\n\n"