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
Merge branch 'main' into main
six2dez873007f2fa79
diff --cc reconftw.shindex ef67908,b1b54cf..78ac2cf--- a/reconftw.sh+++ b/reconftw.sh@@@ -316,30 -288,28 +316,33 @@@ sub_dns()}sub_permut(){- start=`date +%s`- printf "${yellow} Running : Permutations Subdomain Enumeration 4/6${reset}\n"- if [[ $(cat tmp_subs_resolution.txt | wc -l) -le 100 ]]- then- eval dnsgen tmp_subs_resolution.txt --wordlist $tools/permutations_list.txt $DEBUG_ERROR | eval shuffledns -d $domain -r $tools/resolvers.txt -o permute1_tmp.txt $DEBUG_STD- cat permute1_tmp.txt | anew -q permute1.txt- eval dnsgen permute1.txt --wordlist $tools/permutations_list.txt $DEBUG_ERROR | eval shuffledns -d $domain -r $tools/resolvers.txt -o permute2_tmp.txt $DEBUG_STD- cat permute2_tmp.txt | anew -q permute2.txt- cat permute1.txt permute2.txt | anew -q permute_subs.txt- eval rm permute1.txt permute1_tmp.txt permute2.txt permute2_tmp.txt $DEBUG_ERROR- elif [[ $(cat active_passive.txt | wc -l) -le 200 ]]- then- eval dnsgen tmp_subs_resolution.txt --wordlist $tools/permutations_list.txt $DEBUG_ERROR | eval shuffledns -d $domain -r $tools/resolvers.txt -o permute_tmp.txt $DEBUG_STD- cat permute_tmp.txt | anew -q permute_subs.txt- eval rm permute_tmp.txt $DEBUG_ERROR- else- printf "\n${yellow} Skipping Permutations: Too Much Subdomains${reset}\n"+ if [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]+ then+ start=`date +%s`+ printf "${yellow} Running : Permutations Subdomain Enumeration 4/6${reset}\n"+ if [[ $(cat tmp_subs_resolution.txt | wc -l) -le 100 ]]+ then+ eval dnsgen tmp_subs_resolution.txt --wordlist $tools/permutations_list.txt $DEBUG_ERROR | eval shuffledns -d $domain -r $tools/resolvers.txt -o permute1_tmp.txt $DEBUG_STD+ cat permute1_tmp.txt | anew -q permute1.txt+ eval dnsgen permute1.txt --wordlist $tools/permutations_list.txt $DEBUG_ERROR | eval shuffledns -d $domain -r $tools/resolvers.txt -o permute2_tmp.txt $DEBUG_STD+ cat permute2_tmp.txt | anew -q permute2.txt+ cat permute1.txt permute2.txt | anew -q permute.txt+ eval rm permute1.txt permute1_tmp.txt permute2.txt permute2_tmp.txt $DEBUG_ERROR && touch $called_fn_dir/.${FUNCNAME[0]}- else++ elif [[ $(cat tmp_subs_resolution.txt | wc -l) -le 200 ]]++ then+ eval dnsgen tmp_subs_resolution.txt --wordlist $tools/permutations_list.txt $DEBUG_ERROR | eval shuffledns -d $domain -r $tools/resolvers.txt -o permute_tmp.txt $DEBUG_STD+ cat permute_tmp.txt | anew -q permute.txt+ eval rm permute_tmp.txt $DEBUG_ERROR && touch $called_fn_dir/.${FUNCNAME[0]}++ else++ printf "\n${yellow} Skipping Permutations: Too Much Subdomains${reset}\n"+ fi+ NUMOFLINES=$(wc -l < permute_subs.txt)+ end=`date +%s`+ runtime=$((end-start))+ printf "${green} ${NUMOFLINES} subdomains found in ${runtime} secs${reset}\n\n"+ else+ printf "${yellow} ${NUMOFLINES} ${FUNCNAME[0]} is already processed, to force executing ${FUNCNAME[0]} delete $called_fn_dir/.${FUNCNAME[0]} ${reset}\n\n"fi- NUMOFLINES=$(wc -l < permute_subs.txt)- end=`date +%s`- runtime=$((end-start))- printf "${green} ${NUMOFLINES} subdomains found in ${runtime} secs${reset}\n\n"}webprobe_simple(){