From 24b65d2010a35e605876f2726b47e5d760c6157b Mon Sep 17 00:00:00 2001 From: uug4na Date: Tue, 18 Nov 2025 13:32:16 +0800 Subject: [PATCH] just added unzip in case user might just create new instance and runs the scanner --- setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.sh b/setup.sh index 8ea5045..18b5a59 100755 --- a/setup.sh +++ b/setup.sh @@ -105,6 +105,13 @@ tar xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 >/dev/null rm phantomjs-2.1.1-linux-x86_64.tar.bz2 cp $toolsDir/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs +# Unzip (if not installed) +if ! command -v unzip &> /dev/null +then + echo "[*] Installing unzip..." + sudo apt install -y unzip >/dev/null +fi + # Aquatone echo "[*] Installing Aquatone" wget -q https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip