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 nmap

six2dezebe139fe0e54
diff --git a/reconftw.sh b/reconftw.sh
index 29d80ca..c256445 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -386,7 +386,8 @@ if [[ -n $inScope_file ]]; then
fi
if [[ $(id -u | grep -o '^0$') == "0" ]]; then
- SUDO=" "
+ # Root: keep empty to avoid passing a space as a command when IFS excludes spaces
+ SUDO=""
else
SUDO="sudo"
fi