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 for getting the external IP

six2dezb8f05b3ad1af
diff --git a/reconftw.sh b/reconftw.sh
index 8165684..3bc2bc8 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -2808,7 +2808,7 @@ function webserver(){
fi
if [ "$1" == "start" ]; then
- ipAddress=$(hostname -I | cut -d ' ' -f1 | sed -e 's/ //')
+ ipAddress=$(curl -s ifconfig.me)
if [ "$ipAddress" != "" ]; then
printf "\n ${bblue}Starting web server... ${reset}\n"