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
Fix IP/cidr detection
six2deza932db036093
diff --git a/reconftw.sh b/reconftw.shindex e0bc7fd..8b0382e 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1444,7 +1444,7 @@ function ipcidr_detection(){}function ipcidr_target(){- ipcidr_detection $1 | cut -d' ' -f3 | unfurl -u domains 2>>"$LOGFILE" | sed 's/\.$//' | sort -u > ./target_reconftw_ipcidr.txt+ ipcidr_detection $1 | cut -d' ' -f3 | unfurl -u domains 2>/dev/null | sed 's/\.$//' | sort -u > ./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 ]]; thendiff --git a/reconftw_axiom.sh b/reconftw_axiom.shindex 9e8d80a..7792a28 100755--- a/reconftw_axiom.sh+++ b/reconftw_axiom.sh@@ -1471,7 +1471,7 @@ function ipcidr_detection(){}function ipcidr_target(){- ipcidr_detection $1 | cut -d' ' -f3 | unfurl -u domains 2>>"$LOGFILE" | sed 's/\.$//' | sort -u > ./target_reconftw_ipcidr.txt+ ipcidr_detection $1 | cut -d' ' -f3 | unfurl -u domains 2>/dev/null | sed 's/\.$//' | sort -u > ./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