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
clouddectect instead ip2provider
six2dezce9b1b289f95
diff --git a/install.sh b/install.shindex d970b96..efec0a8 100755--- a/install.sh+++ b/install.sh@@ -34,6 +34,7 @@ gotools["analyticsrelationships"]="go get -u -v github.com/Josue87/analyticsrelagotools["gotator"]="go get -u -v github.com/Josue87/gotator"gotools["roboxtractor"]="go get -u -v github.com/Josue87/roboxtractor"gotools["mapcidr"]="GO111MODULE=on go get -v github.com/projectdiscovery/mapcidr/cmd/mapcidr"+gotools["clouddetect"]="go get github.com/99designs/clouddetect/cli/clouddetect"declare -A reposrepos["uDork"]="m3n0sd0n4ld/uDork"@@ -56,7 +57,6 @@ repos["massdns"]="blechschmidt/massdns"repos["OpenRedireX"]="devanshbatham/OpenRedireX"repos["GitDorker"]="obheda12/GitDorker"repos["testssl"]="drwetter/testssl.sh"-repos["ip2provider"]="oldrho/ip2provider"repos["commix"]="commixproject/commix"repos["JSA"]="six2dez/JSA"repos["urldedupe"]="ameenmaali/urldedupe"diff --git a/reconftw.sh b/reconftw.shindex 7f56b70..7aa5b0b 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -102,6 +102,7 @@ function tools_installed(){type -P mapcidr &>/dev/null || { printf "${bred} [*] mapcidr [NO]${reset}\n"; allinstalled=false;}type -P ppfuzz &>/dev/null || { printf "${bred} [*] ppfuzz [NO]${reset}\n"; allinstalled=false;}type -P searchsploit &>/dev/null || { printf "${bred} [*] searchsploit [NO]${reset}\n"; allinstalled=false;}+ type -P clouddetect &>/dev/null || { printf "${bred} [*] clouddetect [NO]${reset}\n"; allinstalled=false;}type -P interactsh-client &>/dev/null || { printf "${bred} [*] interactsh-client [NO]${reset}\n"; allinstalled=false;}type -P axiom-ls &>/dev/null || { printf "${bred} [*] axiom [NO]${reset}\n${reset}"; allinstalled=false;}@@ -922,9 +923,11 @@ function portscan(){function cloudprovider(){if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$CLOUD_IP" = true ]; thenstart_func "Cloud provider check"- cd "$tools/ip2provider" || { echo "Failed to cd directory in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }- [ -s "$dir/hosts/ips.txt" ] && cat $dir/hosts/ips.txt | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" | ./ip2provider.py 2>>"$LOGFILE" | anew -q $dir/hosts/cloud_providers.txt- cd "$dir" || { echo "Failed to cd directory in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }+ if [ -s "$dir/hosts/ips.txt" ]; then+ for ip in $( cat "$dir/hosts/ips.txt" ); do+ echo "$( echo -n ${ip} && echo -n " " && clouddetect -ip=${ip} )" | grep -iv "Error" | anew -q $dir/hosts/cloud_providers.txt+ done+ fiend_func "Results are saved in hosts/cloud_providers.txt" ${FUNCNAME[0]}elseif [ "$CLOUD_IP" = false ]; then