Merge pull request #57 from KasperskyLab/dev

Update install.sh with new node version.
This commit is contained in:
Félix Aimé 2021-02-26 12:20:26 +01:00 committed by GitHub
commit 672b8cf0c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ install_package() {
rm Release.key && sudo apt-get update
apt-get install zeek -y
elif [[ $1 == "nodejs" ]]; then
curl -sL https://deb.nodesource.com/setup_12.x | bash
curl -sL https://deb.nodesource.com/setup_14.x | bash
apt-get install -y nodejs
elif [[ $1 == "dig" ]]; then
apt-get install -y dnsutils
@ -436,7 +436,7 @@ change_configs() {
}
feeding_iocs() {
echo -e "\e[39m[+] Feeding your TinyCheck instance with fresh IOCs and whitelist."
echo -e "\e[39m[+] Feeding your TinyCheck instance with fresh IOCs and whitelist, please wait."
python3 /usr/share/tinycheck/server/backend/watchers.py
}
@ -480,4 +480,4 @@ else
feeding_iocs
cleaning
reboot_box
fi
fi