From 8bc50ce7019f58d1af4e001537f1447a30d064b6 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Fri, 13 Apr 2018 14:12:03 +0200 Subject: [PATCH] fix: Fixed the stix2 python library installation --- scripts/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 0a0ce23..e77b165 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -207,8 +207,6 @@ sudo -u www-data git clone https://github.com/CybOXProject/mixbox.git cd $PATH_TO_MISP/app/files/scripts/mixbox sudo -u www-data git checkout v1.0.2 sudo python setup.py install > /dev/null 2>&1 -# install STIX2.0 library to support STIX 2.0 export: -sudo pip3 install stix2 > /dev/null 2>&1 echo "--- Installing misp-dashboard ---" cd /var/www @@ -486,6 +484,8 @@ sudo pip3 install git+https://github.com/kbandla/pydeep.git > /dev/null 2>&1 sudo pip install pymisp python-magic > /dev/null 2>&1 sudo pip install git+https://github.com/kbandla/pydeep.git > /dev/null 2>&1 sudo pip install lief 2>&1 +# install STIX2.0 library to support STIX 2.0 export: +sudo pip3 install stix2 > /dev/null 2>&1 # With systemd: # sudo cat > /etc/systemd/system/misp-modules.service <