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
BLC multithreaded, reordered && added to config
six2dezb6dca07b3d67
diff --git a/reconftw.config b/reconftw.configindex dab3f14..2883d4a 100644--- a/reconftw.config+++ b/reconftw.config@@ -61,6 +61,7 @@ OPEN_REDIRECT=trueSSRF_CHECKS=trueCRLF_CHECKS=trueLFI=true+BROKENLINKS=true# Extra featuresNOTIFICATION=falsediff --git a/reconftw.sh b/reconftw.shindex dffe93a..82583f8 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -474,23 +474,14 @@ webprobe_full(){}brokenLinks(){- #check if this function is already processed- if [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] ; then+ if [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] && [ "$BROKENLINKS" = true ] ; thenprintf "${bgreen}#######################################################################\n"printf "${bblue} Broken links checks ${reset}\n\n"start=`date +%s`- for sub in $(cat ${domain}_probed.txt); do- sub_out=$(echo $sub | sed -e 's|^[^/]*//||' -e 's|/.*$||')- #check if subdomain is already processed- if [ ! -f "$called_fn_dir/.${FUNCNAME[0]}_$sub_out" ] ; then- wget --spider -r -nd -nv -H -l 1 -w 1 --no-check-certificate -U 'Mozilla' -o ${sub_out}_brokenLinks.tmp $sub_out- cat ${sub_out}_brokenLinks.tmp | grep "^http" | grep -v ':$' | anew -q ${domain}_brokenLinks.txt- touch $called_fn_dir/.${FUNCNAME[0]}_$sub_out- else- printf "${yellow} ${FUNCNAME[0]}_$sub_out is already processed, to force executing ${FUNCNAME[0]} delete $called_fn_dir/.${FUNCNAME[0]}_$sub_out ${reset}\n\n"- fi- done- rm *_brokenLinks.tmp+ mkdir -p .broken_tmp+ interlace -tL ${domain}_probed.txt -threads 10 -c "wget --spider -r -nd -nv -H -l 1 -w 1 --no-check-certificate -U 'Mozilla' -o _output_/_cleantarget__brokenLinks.tmp _target_" -o .broken_tmp &>/dev/null+ cd .broken_tmp && cat *.tmp | grep "^http" | grep -v ':$' | anew -q ${dir}/${domain}_brokenLinks.txt+ rm -rf .broken_tmptouch $called_fn_dir/.${FUNCNAME[0]}end=`date +%s`getElapsedTime $start $end@@ -1080,13 +1071,13 @@ all(){subdomains_fullsubtakeoverwebprobe_full- brokenLinksscreenshotportscannuclei_checkgithubfaviconcms_scanner+ brokenLinksfuzzcorsparams@@ -1107,13 +1098,13 @@ all(){subdomains_fullsubtakeoverwebprobe_full- brokenLinksscreenshotportscannuclei_checkgithubfaviconcms_scanner+ brokenLinksfuzzcorsparams@@ -1242,6 +1233,7 @@ while getopts ":hd:-:l:x:vaisxwgto:" opt; dofinuclei_checkcms_scanner+ brokenLinksfuzzcorsparams