Update install.sh

This commit is contained in:
Félix Aimé 2022-12-02 09:03:06 +01:00 committed by GitHub
parent d343223458
commit 44332bffb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,8 @@ install_package() {
apt-get install -y dnsutils apt-get install -y dnsutils
elif [[ $1 == "pip" ]]; then elif [[ $1 == "pip" ]]; then
apt-get install -y python3-pip apt-get install -y python3-pip
elif [[ $1 == "arp" ]]; then
apt-get install -y net-tools
fi fi
} }
@ -169,7 +171,8 @@ check_dependencies() {
"/usr/bin/dig" "/usr/bin/dig"
"/usr/bin/suricata" "/usr/bin/suricata"
"/usr/bin/sqlite3" "/usr/bin/sqlite3"
"/usr/bin/pip") "/usr/bin/pip",
"/usr/sbin/arp")
echo -e "\e[39m[+] Checking dependencies...\e[39m" echo -e "\e[39m[+] Checking dependencies...\e[39m"
for bin in "${bins[@]}" for bin in "${bins[@]}"