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
Better permutations management
six2dezff55ac16caa8
diff --git a/reconftw.sh b/reconftw.shindex 37b8800..714a41d 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -290,12 +290,19 @@ sub_dns(){sub_permut(){start=`date +%s`printf "${yellow} Running : Permutations Subdomain Enumeration 4/6${reset}\n"- 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 tmp_subs_resolution.txt $DEBUG_ERROR+ 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+ else+ 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+ fiNUMOFLINES=$(wc -l < permute_subs.txt)end=`date +%s`runtime=$((end-start))