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

Closes #45

Bilel Eljaamii9093e443cfff
diff --git a/install.sh b/install.sh
index ab46cad..a2b6799 100755
--- a/install.sh
+++ b/install.sh
@@ -16,7 +16,7 @@ else
IS_ARM="False";
fi
-if ! test `which sudo`; then
+if [[ $(id -u | grep -o '^0$') == "0" ]]; then
SUDO=" "
else
SUDO="sudo"