misp-modules/website
David Cruciani 208e1c9b0b
fix: [website.query] download
2024-08-22 12:16:56 +02:00
..
app fix: [website.query] download 2024-08-22 12:16:56 +02:00
conf new: [feature] external tools config and use 2024-06-28 11:32:21 +02:00
doc
migrations chg: [external_tools] api_key, remove redirect 2024-08-22 12:06:37 +02:00
README.md chg: [launch] misp-modules 2024-05-21 10:20:08 +02:00
app.py chg: [conf] generate password if empty 2024-03-05 11:30:58 +01:00
launch.sh chg: [launch] misp-modules 2024-05-21 10:20:08 +02:00
migrate.sh chg: [external_tools] api_key, remove redirect 2024-08-22 12:06:37 +02:00
pyproject.toml
requirements.txt build(deps): bump werkzeug from 2.3.8 to 3.0.3 in /website 2024-05-06 19:11:56 +00:00

README.md

MISP-module website

Use all modules with a dedicate website without any MISP

home

query

Installation

It is strongly recommended to use a virtual environment

If you want to know more about virtual environments, python has you covered

sudo apt-get install screen -y
pip install -r requirements.txt
git submodule init && git submodule update   ## Initialize misp-objects submodule
python3 app.py -i                            ## Initialize db

Don't forget to install misp-modules...

Config

Edit config.py

  • SECRET_KEY: Secret key for the app

  • FLASK_URL : url for the instance

  • FLASK_PORT: port for the instance

  • MISP_MODULE: url and port where misp-module is running

  • ADMIN_USER: If True, config page will not be accessible

  • ADMIN_PASSWORD: Password for Admin user if ADMIN_USER is True

Rename config.cfg.sample to config.cfg then edit it:

  • ADMIN_USER: If True, config page will not be accessible

  • ADMIN_PASSWORD: Password for Admin user if ADMIN_USER is True

Launch

./launch.sh -l

Admin user

If admin user is active, type /login in url to access a login page and type the password wrote in config.py in ADMIN_PASSOWRD.