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

Installer log by default

six2dezca4146301c43
diff --git a/.gitignore b/.gitignore
index ee1cdaa..b858017 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@ test/
*.tar.*
*.zip
.DS_Store
+install.log
reconftw.cfg-personal
secrets.cfg
.env.cache/
diff --git a/install.sh b/install.sh
index 47a5017..c30a8b8 100755
--- a/install.sh
+++ b/install.sh
@@ -48,12 +48,13 @@ fi
# Globals for CLI overrides
FORCE_UPDATE=${FORCE_UPDATE:-false}
VERBOSE=${VERBOSE:-false}
-LOGFILE=${LOGFILE-}
+LOGFILE=${LOGFILE:-"./install.log"}
DRY_RUN=${DRY_RUN:-false}
TOOLS_ONLY=${TOOLS_ONLY:-false}
-# If LOGFILE provided via env/flag, tee all output
+# Log all output (default: install.log in repo root)
if [[ -n ${LOGFILE} ]]; then
+ : > "${LOGFILE}"
exec > >(tee -a "${LOGFILE}") 2>&1
fi