SamuraiWTF / samuraiwtf

The main SamuraiWTF collaborative distro repo.
https://owasp.org/www-project-samuraiwtf/#SamuraiWTF_Project
GNU Lesser General Public License v3.0
453 stars 117 forks source link

do apt-get update before installing deps in provision.sh #164

Closed corysabol closed 2 years ago

corysabol commented 2 years ago

apt-get update was missing from provision.sh before attempting to use apt install to install deps. This broke several things. It was discovered when testing a katana fix for Juice-Shop because a broken package cause jq not to install which cause wget to fail on downloading mkcert, which then caused nginx to crash when trying to start after being configured to service juice-shop via TLS.

This is related to the following katana PR - https://github.com/SamuraiWTF/katana/pull/33