Skip to content

Instantly share code, notes, and snippets.

@ErnHem
Last active August 9, 2018 14:58
Show Gist options
  • Select an option

  • Save ErnHem/2bb529b2c85568fd61a2caa92b33d41a to your computer and use it in GitHub Desktop.

Select an option

Save ErnHem/2bb529b2c85568fd61a2caa92b33d41a to your computer and use it in GitHub Desktop.
ImportError: No module named magic
sudo apt-get install python3-magic
import sys
sys.path.append('/opt/splunk/bin/scripts/TheHive4py/')
Windows needs
libmagic
python-magic
python-magic-bin
linux
install requirements.txt
pip3 install pypyodbc
yum install unixODBC-devel
pip3 install future
/opt/thehive/bin/thehive -Dconfig.resource=/etc/thehive/application.conf -Dplay.http.secret.key='QCY?tAnfk?aZ?iwrNwnxIlR6CTf:G3gf:90Latabg@5241AB`R5W:1uDFN];Ik@n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment