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
enable domain info with whois
six2dezec418f60d14c
diff --git a/reconftw.cfg b/reconftw.cfgindex 9643cdc..9c93f38 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -41,7 +41,7 @@ GOOGLE_DORKS=trueGITHUB_DORKS=trueMETADATA=trueEMAILS=true-DOMAIN_INFO=false+DOMAIN_INFO=trueIP_INFO=trueMETAFINDER_LIMIT=20 # Max 250diff --git a/reconftw.sh b/reconftw.shindex bc5f865..c4ffa25 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -218,31 +218,7 @@ function emails(){function domain_info(){if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$DOMAIN_INFO" = true ] && [ "$OSINT" = true ] && ! [[ $domain =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9] ]]; thenstart_func ${FUNCNAME[0]} "Searching domain info (whois, registrant name/email domains)"- lynx -dump "https://domainbigdata.com/${domain}" | tail -n +19 > osint/domain_info_general.txt- if [ -s "osint/domain_info_general.txt" ]; then- cat osint/domain_info_general.txt | grep '/nj/' | tr -s ' ' ',' | cut -d ',' -f3 > .tmp/domain_registrant_name.txt- cat osint/domain_info_general.txt | grep '/mj/' | tr -s ' ' ',' | cut -d ',' -f3 > .tmp/domain_registrant_email.txt- cat osint/domain_info_general.txt | grep -aE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" | grep "https://domainbigdata.com" | tr -s ' ' ',' | cut -d ',' -f3 > .tmp/domain_registrant_ip.txt- fi- sed -i -n '/Copyright/q;p' osint/domain_info_general.txt-- if [ -s ".tmp/domain_registrant_name.txt" ]; then- for line in $(cat .tmp/domain_registrant_name.txt); do- lynx -dump $line | tail -n +18 | sed -n '/]domainbigdata.com/q;p' >> osint/domain_info_name.txt && echo -e "\n\n#######################################################################\n\n" >> osint/domain_info_name.txt- done- fi-- if [ -s ".tmp/domain_registrant_email.txt" ]; then- for line in $(cat .tmp/domain_registrant_email.txt); do- lynx -dump $line | tail -n +18 | sed -n '/]domainbigdata.com/q;p' >> osint/domain_info_email.txt && echo -e "\n\n#######################################################################\n\n" >> osint/domain_info_email.txt- done- fi-- if [ -s ".tmp/domain_registrant_ip.txt" ]; then- for line in $(cat .tmp/domain_registrant_ip.txt); do- lynx -dump $line | tail -n +18 | sed -n '/]domainbigdata.com/q;p' >> osint/domain_info_ip.txt && echo -e "\n\n#######################################################################\n\n" >> osint/domain_info_ip.txt- done- fi+ whois -H $domain > osint/domain_info_general.txtamass intel -d ${domain} -whois -o osint/domain_info_reverse_whois.txt 2>>"$LOGFILE" &>/dev/nullend_func "Results are saved in $domain/osint/domain_info_[general/name/email/ip].txt" ${FUNCNAME[0]}else