misp-modules/website
David Cruciani 7c59af5eb5
chg: [history] save from session to db
2024-03-11 15:29:49 +01:00
..
app chg: [history] save from session to db 2024-03-11 15:29:49 +01:00
conf chg: [config] queries limit 2024-03-11 15:27:25 +01:00
doc chg: [website] readme 2024-02-27 11:20:46 +01:00
migrations chg: [website] history add input attr 2024-02-12 15:33:47 +01:00
README.md chg: [conf] generate password if empty 2024-03-05 11:30:58 +01:00
app.py chg: [conf] generate password if empty 2024-03-05 11:30:58 +01:00
launch.sh chg: [website] screen for misp-module 2024-02-27 11:21:49 +01:00
pyproject.toml chg: [website] rename 2024-02-09 13:55:39 +01:00
requirements.txt chg: [website] admin user 2024-02-29 10:15:16 +01: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

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.