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
Fix multi && nuclei
six2dez228a049f4fa8
diff --git a/reconftw.sh b/reconftw.shindex 06e10dd..ce16cbc 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -625,7 +625,7 @@ function webprobe_simple(){end_subfunc "${NUMOFLINES} new websites resolved" ${FUNCNAME[0]}- if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ]+ if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ] && [[ $(cat webs/webs.txt| wc -l) -le 1500 ]]thennotification "Sending websites to proxy" infoeval ffuf -mc all -w webs/webs.txt -u FUZZ -replay-proxy $proxy_url $DEBUG_STD@@ -649,7 +649,7 @@ function webprobe_full(){notification "Uncommon web ports: ${NUMOFLINES} new websites" goodeval cat webs/webs_uncommon_ports.txt $DEBUG_ERRORend_func "Results are saved in webs/webs_uncommon_ports.txt" ${FUNCNAME[0]}- if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ]+ if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ] && [[ $(cat webs/webs_uncommon_ports.txt| wc -l) -le 1500 ]]thennotification "Sending websites uncommon ports to proxy" infoeval ffuf -mc all -w webs/webs_uncommon_ports.txt -u FUZZ -replay-proxy $proxy_url $DEBUG_STD@@ -792,24 +792,16 @@ function nuclei_check(){start_func "Templates based web scanner"eval nuclei -update-templates $DEBUG_STDmkdir -p nuclei_output- printf "${yellow}\n Running : Nuclei Technologies${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/technologies/ -r $resolvers_trusted -o nuclei_output/technologies.txt- printf "${yellow}\n\n Running : Nuclei Tokens${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/exposed-tokens/ -r $resolvers_trusted -o nuclei_output/tokens.txt- printf "${yellow}\n\n Running : Nuclei Exposures${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/exposures/ -r $resolvers_trusted -o nuclei_output/exposures.txt- printf "${yellow}\n\n Running : Nuclei CVEs ${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/cves/ -r $resolvers_trusted -o nuclei_output/cves.txt- printf "${yellow}\n\n Running : Nuclei Default Creds ${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/default-logins/ -r $resolvers_trusted -o nuclei_output/default_creds.txt- printf "${yellow}\n\n Running : Nuclei DNS ${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/dns/ -r $resolvers_trusted -o nuclei_output/dns.txt- printf "${yellow}\n\n Running : Nuclei Panels ${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/exposed-panels/ -r $resolvers_trusted -o nuclei_output/panels.txt- printf "${yellow}\n\n Running : Nuclei Security Misconfiguration ${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/misconfiguration/ -r $resolvers_trusted -o nuclei_output/misconfigurations.txt- printf "${yellow}\n\n Running : Nuclei Vulnerabilites ${reset}\n\n"- cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/vulnerabilities/ -r $resolvers_trusted -o nuclei_output/vulnerabilities.txt+ printf "${yellow}\n Running : Nuclei Info${reset}\n\n"+ cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/ -severity info -r $resolvers_trusted -o nuclei_output/info.txt+ printf "${yellow}\n\n Running : Nuclei Low${reset}\n\n"+ cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/ -severity low -r $resolvers_trusted -o nuclei_output/low.txt+ printf "${yellow}\n\n Running : Nuclei Medium${reset}\n\n"+ cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/ -severity medium -r $resolvers_trusted -o nuclei_output/medium.txt+ printf "${yellow}\n\n Running : Nuclei High${reset}\n\n"+ cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/ -severity high -r $resolvers_trusted -o nuclei_output/high.txt+ printf "${yellow}\n\n Running : Nuclei Critical${reset}\n\n"+ cat webs/webs.txt | nuclei -silent -t ~/nuclei-templates/ -severity critical -r $resolvers_trusted -o nuclei_output/critical.txtprintf "\n\n"end_func "Results are saved in nuclei_output folder" ${FUNCNAME[0]}else@@ -931,7 +923,7 @@ function urlchecks(){NUMOFLINES=$(eval cat .tmp/url_extract_uddup.txt $DEBUG_ERROR | anew webs/url_extract.txt | wc -l)notification "${NUMOFLINES} new urls with params" infoend_func "Results are saved in webs/url_extract.txt" ${FUNCNAME[0]}- if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ] && [[ $(cat webs/url_extract.txt | wc -l) -le 1000 ]]+ if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ] && [[ $(cat webs/url_extract.txt | wc -l) -le 1500 ]]thennotification "Sending urls to proxy" infoeval ffuf -mc all -w webs/url_extract.txt -u FUZZ -replay-proxy $proxy_url $DEBUG_STD@@ -1598,6 +1590,16 @@ function recon(){}function multi_recon(){+++ global_start=`date +%s`++ if [ "$NOTIFICATION" = true ] ; then+ NOTIFY="notify -silent"+ else+ NOTIFY=""+ fi+if [ -s "$list" ]thentargets=$(cat $list)@@ -1605,14 +1607,16 @@ function multi_recon(){notification "Target list not provided" errorexitfi+workdir=$SCRIPTPATH/Recon/$multimkdir -p $workdir && cd $workdir- mkdir -p .tmp .called_fn_dir osint subdomains webs hosts vulns+ mkdir -p .tmp .called_fn osint subdomains webs hosts vulnsfor domain in $targets; dodir=$workdir/targets/$domain+ called_fn_dir=$dir/.called_fnmkdir -p $dircd $dir- mkdir -p .tmp .called_fn_dir osint subdomains webs hosts vulns+ mkdir -p .tmp .called_fn osint subdomains webs hosts vulnsdomain_infoemailsgoogle_dorks@@ -1741,8 +1745,8 @@ while getopts ":hd:-:l:m:x:i:varspxwo:" opt; do## TARGETS-# m ) multi=$OPTARG-# ;;+ m ) multi=$OPTARG+ ;;d ) domain=$OPTARG;;l ) list=$OPTARG