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 hostname on web server

six2dezb10202f2ecf4
diff --git a/web/web/settings.py b/web/web/settings.py
index 20e48b5..d11a8da 100644
--- a/web/web/settings.py
+++ b/web/web/settings.py
@@ -7,7 +7,7 @@ SECRET_KEY = secrets.token_hex(32)
DEBUG = 1
-ipAddress=os.popen('hostname -I | cut -d " " -f1').read().strip()
+ipAddress=os.popen('hostname -i | cut -d " " -f1').read().strip()
ALLOWED_HOSTS = [ipAddress, 'localhost', '127.0.0.1', '*']
# SESSION_COOKIE_SECURE = True