From 2852513062dbf469b3a71ef0b42c271664b39beb Mon Sep 17 00:00:00 2001 From: SadProcessor Date: Mon, 8 Jan 2018 22:35:30 +0100 Subject: [PATCH] Update install.sh Fix Kali Install --- setup/install.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/setup/install.sh b/setup/install.sh index 6935d62..e896cd1 100755 --- a/setup/install.sh +++ b/setup/install.sh @@ -83,12 +83,11 @@ function install_powershell() { fi #Kali Linux if cat /etc/lsb-release | grep -i 'Kali'; then - # Install prerequisites - apt-get install libunwind8 libicu55 - wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb - dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb # Install PowerShell - dpkg -i powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb + wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.9_amd64.deb + dpkg -i powershell_6.0.0-rc.2-1.debian.9_amd64.deb + #fix dependency error + apt-get install -f -y fi fi if ls /opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY; then @@ -133,7 +132,9 @@ else sudo pip install -r requirements.txt elif lsb_release -d | grep -q "Kali"; then Release=Kali - sudo apt-get install -y make g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk libssl1.0.0 libssl-dev build-essential + wget http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb + dpkg -i libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb + sudo apt-get install -y make g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk zlib1g-dev libssl1.0-dev build-essential pip install --upgrade pip sudo pip install -r requirements.txt install_powershell