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 hackip2host for better reverse DNS lookup
six2dezd5f66841d23b
diff --git a/install.sh b/install.shindex cdc4c4f..b66fd72 100755--- a/install.sh+++ b/install.sh@@ -54,7 +54,7 @@ gotools["gitlab-subdomains"]="go install github.com/gwen001/gitlab-subdomains@lagotools["nuclei"]="go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest"gotools["anew"]="go install -v github.com/tomnomnom/anew@latest"gotools["notify"]="go install -v github.com/projectdiscovery/notify/cmd/notify@latest"-gotools["unfurl"]="go install -v github.com/tomnomnom/unfurl@latest"+gotools["unfurl"]="go install -v github.com/tomnomnom/[email protected]"gotools["httpx"]="go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest"gotools["github-endpoints"]="go install -v github.com/gwen001/github-endpoints@latest"gotools["dnsx"]="go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest"@@ -81,6 +81,7 @@ gotools["enumerepo"]="go install github.com/trickest/enumerepo@latest"gotools["Web-Cache-Vulnerability-Scanner"]="go install -v github.com/Hackmanit/Web-Cache-Vulnerability-Scanner@latest"gotools["subfinder"]="go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest"gotools["byp4xx"]="go install -v github.com/lobuhi/byp4xx@latest"+gotools["hakip2host"]="go install github.com/hakluke/hakip2host@latest"declare -A reposrepos["dorks_hunter"]="six2dez/dorks_hunter"diff --git a/reconftw.sh b/reconftw.shindex dc61c54..e20bcd1 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -112,7 +112,8 @@ function tools_installed(){which subfinder &>/dev/null || { printf "${bred} [*] subfinder [NO]${reset}\n${reset}"; allinstalled=false;}which byp4xx &>/dev/null || { printf "${bred} [*] byp4xx [NO]${reset}\n${reset}"; allinstalled=false;}which ghauri &>/dev/null || { printf "${bred} [*] ghauri [NO]${reset}\n${reset}"; allinstalled=false;}-+ which hakip2host &>/dev/null || { printf "${bred} [*] hakip2host [NO]${reset}\n${reset}"; allinstalled=false;}+if [ "${allinstalled}" = true ]; thenprintf "${bgreen} Good! All installed! ${reset}\n\n"else@@ -2168,7 +2169,7 @@ function ipcidr_target(){if [[ $1 =~ ^$IP_CIDR_REGEX ]]; thenecho $1 | mapcidr -silent | anew -q target_reconftw_ipcidr.txtif [ -s "./target_reconftw_ipcidr.txt" ]; then- [ "$REVERSE_IP" = true ] && cat ./target_reconftw_ipcidr.txt | dnsx -ptr -resp-only -silent -retry 3 -r $resolvers_trusted | unfurl -u domains 2>/dev/null | sed 's/\.$//' | anew -q ./target_reconftw_ipcidr.txt+ [ "$REVERSE_IP" = true ] && cat ./target_reconftw_ipcidr.txt | hakip2host | cut -d' ' -f 3 | unfurl -u domains 2>/dev/null | sed 's/\.$//' | anew -q ./target_reconftw_ipcidr.txtif [[ $(cat ./target_reconftw_ipcidr.txt | wc -l) -eq 1 ]]; thendomain=$(cat ./target_reconftw_ipcidr.txt)elif [[ $(cat ./target_reconftw_ipcidr.txt | wc -l) -gt 1 ]]; then