From dea7e2236dace9f07c9face3ae0c607a2dc5898d Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Thu, 14 Jun 2018 18:30:31 +0200 Subject: [PATCH] =?UTF-8?q?-=20Fixed=20gnupg=20passphrase=E2=80=A6=20added?= =?UTF-8?q?=20r2=20(radare2)=20fixed=20viper=20perms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/bootstrap.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 308c59b..ceb963c 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -436,7 +436,7 @@ cat >/tmp/gen-key-script < /dev/null 2>&1 echo "--- Installing viper-framework ---" cd /usr/local/src/ -sudo apt-get install -y libssl-dev swig python3-ssdeep p7zip-full unrar sqlite python3-pyclamd exiftool +sudo apt-get install -y libssl-dev swig python3-ssdeep p7zip-full unrar sqlite python3-pyclamd exiftool radare2 sudo pip3 install SQLAlchemy PrettyTable python-magic 2>&1 sudo git clone https://github.com/viper-framework/viper.git cd viper @@ -602,6 +602,7 @@ sudo chmod -R g+ws $PATH_TO_MISP/app/tmp sudo chmod -R g+ws $PATH_TO_MISP/app/files sudo chmod -R g+ws $PATH_TO_MISP/app/files/scripts/tmp sudo chmod 700 $PATH_TO_MISP/.gnupg +sudo chown -R misp:misp ~misp/.viper echo "--- Setting Baseurl ---" sudo $PATH_TO_MISP/app/Console/cake Baseurl "" @@ -613,6 +614,7 @@ echo "MISP admin: admin@admin.test/admin" echo "Shell/SSH: misp/Password1234" echo "MySQL: $DBUSER_ADMIN/$DBPASSWORD_ADMIN - $DBUSER_MISP/$DBPASSWORD_MISP" echo "MySQL: $DBUSER_ADMIN/$DBPASSWORD_ADMIN - $DBUSER_MISP/$DBPASSWORD_MISP" > ~/mysql.txt +chown misp:misp ~/mysql.txt TIME_END=$(date +%s)