Update install.sh

Fixed conditional statement
This commit is contained in:
xer0dayz 2020-08-19 10:19:33 -07:00 committed by GitHub
parent 6e6481c83a
commit 47ddf9a59e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ 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
if [ ! -x `which $i` ]; then
if [ -z `which $i` ]; then
apt install -y $i 2>/dev/null
fi
done