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 inscope

six2dezc565af5189bd
diff --git a/reconftw.sh b/reconftw.sh
index a94b160..6633108 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -369,7 +369,7 @@ function sub_crt(){
start_subfunc ${FUNCNAME[0]} "Running : Crtsh Subdomain Enumeration"
python3 $tools/ctfr/ctfr.py -d $domain -o .tmp/crtsh_subs_tmp.txt 2>>"$LOGFILE" &>/dev/null
if [ "$INSCOPE" = true ]; then
- check_inscope .tmp/crtsh_subs_tmp.txt
+ check_inscope .tmp/crtsh_subs_tmp.txt 2>>"$LOGFILE" &>/dev/null
fi
NUMOFLINES=$(cat .tmp/crtsh_subs_tmp.txt 2>>"$LOGFILE" | sed 's/\*.//g' | anew .tmp/crtsh_subs.txt | sed '/^$/d' | wc -l)
end_subfunc "${NUMOFLINES} new subs (cert transparency)" ${FUNCNAME[0]}