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

working on #423

Bilel Eljaamiicc8a820dba48
diff --git a/install.sh b/install.sh
index 9830324..37d19d1 100755
--- a/install.sh
+++ b/install.sh
@@ -67,7 +67,7 @@ repos["pydictor"]="LandGrey/pydictor"
dir=${tools}
double_check=false
-
+# Raspberry Pi Detecting
if grep -q "Raspberry Pi 3" /proc/cpuinfo; then
IS_ARM="True"
RPI_3="True"
@@ -79,6 +79,12 @@ elif grep -q "Raspberry Pi 4" /proc/cpuinfo; then
else
IS_ARM="False"
fi
+#Mac Osx Detecting
+if [[ "$OSTYPE" == "darwin"* ]]; then
+ IS_MAC="True"
+else
+ IS_MAC="False"
+fi
printf "\n\n${bgreen}#######################################################################${reset}\n"
printf "${bgreen} reconFTW installer/updater script ${reset}\n\n"
@@ -104,6 +110,15 @@ install_apt(){
eval $SUDO systemctl enable tor $DEBUG_STD
}
+install_brew(){
+ eval $SUDO brew update -$DEBUG_STD
+ eval $SUDO brew install chromium-browser $DEBUG_STD
+ eval $SUDO brew install chromium $DEBUG_STD
+ eval $SUDO brew install python3 python3-pip build-essential gcc cmake ruby git curl libpcap-dev wget zip python3-dev pv dnsutils libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev nmap jq apt-transport-https lynx tor medusa xvfb $DEBUG_STD
+ #TO_DO enable TOr
+ #eval $SUDO systemctl enable tor $DEBUG_STD
+}
+
install_yum(){
eval $SUDO yum groupinstall "Development Tools" -y $DEBUG_STD
eval $SUDO yum install python3 python3-pip gcc cmake ruby git curl libpcap-dev wget zip python3-devel pv bind-utils libopenssl-devel libffi-devel libxml2-devel libxslt-devel zlib-devel nmap jq lynx tor medusa xorg-x11-server-xvfb -y $DEBUG_STD
@@ -142,6 +157,7 @@ printf "${bblue} Running: Installing system packages ${reset}\n\n"
if [ -f /etc/debian_version ]; then install_apt;
elif [ -f /etc/redhat-release ]; then install_yum;
elif [ -f /etc/arch-release ]; then install_pacman;
+elif [ "True" = "$IS_MAC" ]; then install_brew;
elif [ -f /etc/os-release ]; then install_yum; #/etc/os-release fall in yum for some RedHat and Amazon Linux instances
fi