From ec4b6dd32fe923d6cb9f82540d04f89ed263fad0 Mon Sep 17 00:00:00 2001 From: Mad Gray Hatter Date: Wed, 19 Aug 2020 11:38:47 -0400 Subject: [PATCH] Update install.sh added a conditional to check to see if the app being installed is already present, if it isnt the install command will run if not, it will pass it --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 80b52a0..55fc078 100755 --- a/install.sh +++ b/install.sh @@ -67,7 +67,9 @@ fi echo -e "$OKBLUE[*]$RESET Installing package dependencies...$RESET" apt-get update for i in adb aha curl cutycapt dnsrecon dos2unix golang greenbone-security-assistant host hydra jq jsbeautifier ldapscripts libssl-dev libxml2-utils nbtscan net-tools nfs-common nikto nmap nodejs openvas p7zip-full phantomjs php7.4 php7.4-curl python python-pip python3-paramiko python3-pip rpcbind ruby rubygems sqlmap sslscan wafw00f whatweb whois xdg-utils xmlstarlet xsltproc; do - apt install -y $i 2>/dev/null + if [ ! -x `which $i` ]; then + apt install -y $i 2>/dev/null + fi done echo -e "$OKBLUE[*]$RESET Installing Metasploit...$RESET"