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
added permutation flag into config for cloudhunter
kleoz7d08a700c096
diff --git a/reconftw.cfg b/reconftw.cfgindex a031957..aeb94b6 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -119,6 +119,7 @@ ROBOTSWORDLIST=true # Check historic disallow entries on waybackMachinePASSWORD_DICT=true # Generate password dictionaryPASSWORD_MIN_LENGTH=5 # Min password lengthPASSWORD_MAX_LENGTH=14 # Max password length+CLOUDHUNTER_PERMUTATION=DEEP # Options: DEEP (very slow), NORMAL (slow), NONE# VulnsVULNS_GENERAL=false # Enable or disable the vulnerability module (very intrusive and slow)diff --git a/reconftw.sh b/reconftw.shindex 6f3ed35..8797909 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1383,9 +1383,27 @@ function s3buckets() {# Initialize the output file in the subdomains folder> subdomains/cloudhunter_open_buckets.txt # Create or clear the output file+ # Determine the CloudHunter permutations flag based on the config+ PERMUTATION_FLAG=""+ case "$CLOUDHUNTER_PERMUTATION" in+ DEEP)+ PERMUTATION_FLAG="-p ~/Tools/CloudHunter/permutations-big.txt"+ ;;+ NORMAL)+ PERMUTATION_FLAG="-p ~/Tools/CloudHunter/permutations.txt"+ ;;+ NONE)+ PERMUTATION_FLAG=""+ ;;+ *)+ echo "Invalid value for CloudHunter_Permutations: $CloudHunter_Permutations" >> "$LOGFILE"+ exit 1+ ;;+ esac+# Run CloudHunter on each URL in webs/full_webs.txt and append the output to the file in the subdomains folderwhile IFS= read -r url; do- python3 ~/Tools/CloudHunter/cloudhunter.py -p ~/Tools/CloudHunter/permutations-big.txt -r ~/Tools/CloudHunter/resolvers.txt -t 50 "$url" >> subdomains/cloudhunter_open_buckets.txt 2>>"$LOGFILE"+ python3 ~/Tools/CloudHunter/cloudhunter.py $PERMUTATION_FLAG -r ~/Tools/CloudHunter/resolvers.txt -t 50 "$url" >> subdomains/cloudhunter_open_buckets.txt 2>>"$LOGFILE"done < webs/full_webs.txt# Remove the full_webs.txt file after CloudHunter processing