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
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Fullscope removed
six2dez3eb3289dcfd9
diff --git a/reconftw.cfg b/reconftw.cfgindex bc14f00..55a6bac 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -100,7 +100,6 @@ BYPASSER4XX=true# Extra featuresNOTIFICATION=falseDEEP=false-FULLSCOPE=falseDIFF=falseREMOVETMP=falsediff --git a/reconftw.sh b/reconftw.shindex f8d290b..b752131 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -338,29 +338,17 @@ function sub_crt(){cd $tools/crtfindereval python3 crtfinder.py -u $domain $DEBUG_STDoutputfile=${domain%%.*}- if [ "$FULLSCOPE" = true ] ; then- eval cat ${outputfile}.txt $DEBUG_ERROR | anew -q $dir/.tmp/crtsh_subs_tmp.txt- else- eval cat ${outputfile}.txt $DEBUG_ERROR | grep ".$domain$" | anew -q $dir/.tmp/crtsh_subs_tmp.txt- fi+ eval cat ${outputfile}.txt $DEBUG_ERROR | grep ".$domain$" | anew -q $dir/.tmp/crtsh_subs_tmp.txt+if [ "$DEEP" = true ] ; theneval python3 dig.py ${outputfile}.txt > more.txt $DEBUG_STD- if [ "$FULLSCOPE" = true ] ; then- eval cat more.txt $DEBUG_ERROR | anew -q $dir/.tmp/crtsh_subs_tmp.txt- else- eval cat more.txt $DEBUG_ERROR | grep ".$domain$" | anew -q $dir/.tmp/crtsh_subs_tmp.txt- fi+ eval cat more.txt $DEBUG_ERROR | grep ".$domain$" | anew -q $dir/.tmp/crtsh_subs_tmp.txteval rm more.txt $DEBUG_ERRORfieval rm ${outputfile}.txt $DEBUG_ERRORcd $dir- if [ "$FULLSCOPE" = true ] ; then- eval curl "https://tls.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r .Results[] $DEBUG_ERROR | cut -d ',' -f3 | anew -q .tmp/crtsh_subs_tmp.txt- eval curl "https://dns.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r '.FDNS_A'[],'.RDNS'[] $DEBUG_ERROR | cut -d ',' -f2 | anew -q .tmp/crtsh_subs_tmp.txt- else- eval curl "https://tls.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r .Results[] $DEBUG_ERROR | cut -d ',' -f3 | grep -F ".$domain" | anew -q .tmp/crtsh_subs.txt- eval curl "https://dns.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r '.FDNS_A'[],'.RDNS'[] $DEBUG_ERROR | cut -d ',' -f2 | grep -F ".$domain" | anew -q .tmp/crtsh_subs_tmp.txt- fi+ eval curl "https://tls.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r .Results[] $DEBUG_ERROR | cut -d ',' -f3 | grep -F ".$domain" | anew -q .tmp/crtsh_subs.txt+ eval curl "https://dns.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r '.FDNS_A'[],'.RDNS'[] $DEBUG_ERROR | cut -d ',' -f2 | grep -F ".$domain" | anew -q .tmp/crtsh_subs_tmp.txtNUMOFLINES=$(eval cat .tmp/crtsh_subs_tmp.txt $DEBUG_ERROR | anew .tmp/crtsh_subs.txt | wc -l)end_subfunc "${NUMOFLINES} new subs (cert transparency)" ${FUNCNAME[0]}else@@ -1687,9 +1675,6 @@ while getopts ":hd:-:l:m:x:i:varspxwo:" opt; doif [[ $general == *"--deep"* ]]; thenDEEP=truefi- if [[ $general == *"--fs"* ]]; then- FULLSCOPE=true- ficase ${opt} in## TARGETS