Skip to content

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

fix couldhunter

six2dezc0cc12c1b946
diff --git a/reconftw.sh b/reconftw.sh
index 7ebf2c8..9eaad1d 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -2427,7 +2427,7 @@ function s3buckets() {
fi
if [[ -n $PERMUTATION_FLAG ]]; then
- permutation_file="${PERMUTATION_FLAG#-p }"
+ permutation_file="${PERMUTATION_FLAG}"
if [[ -f $permutation_file ]]; then
printf "Permutations file exists\n" >>"$LOGFILE"
else
@@ -2449,7 +2449,7 @@ function s3buckets() {
printf "%b[!] Failed to cd to %s.%b\n" "$bred" "$tools/CloudHunter" "$reset"
return 1
fi
- if ! "${tools}/CloudHunter/venv/bin/python3" ./cloudhunter.py ${PERMUTATION_FLAG#-p } -r ./resolvers.txt -t 50 "$url"; then
+ if ! "${tools}/CloudHunter/venv/bin/python3" ./cloudhunter.py ${PERMUTATION_FLAG} -r ./resolvers.txt -t 50 "$url"; then
printf "%b[!] CloudHunter command failed for URL %s.%b\n" "$bred" "$url" "$reset"
fi
) >>"$dir/subdomains/cloudhunter_open_buckets.txt" 2>>"$LOGFILE"