PyMISP/examples/feed-generator-from-redis
Sami Mokaddem 39fc05aad9 Updated readme 2 2018-03-12 15:41:02 +01:00
..
ObjectConstructor Updated readme 2018-03-12 15:34:12 +01:00
README.md Updated readme 2 2018-03-12 15:41:02 +01:00
fromredis.py removed unused function 2018-03-12 10:19:05 +01:00
generator.py feature: Added support of MISP object constructor instead of the generic_generator 2018-03-12 15:17:25 +01:00
install.sh Added install script 2018-03-08 17:39:14 +01:00
server.py feature: Added support of MISP object constructor instead of the generic_generator 2018-03-12 15:17:25 +01:00
settings.default.py Moved object constructor into their own folder 2018-03-12 15:22:58 +01:00

README.md

What

  • generator.py exposes a class allowing to generate a MISP feed in real time.
  • fromredis.py uses generator.py to generate a MISP feed based on data stored in redis.
  • server.py is a simple script using Flask_autoindex to serve data to MISP

Installation

#  Feed generator
git clone https://github.com/CIRCL/PyMISP
cd examples/feed-generator-from-redis
cp settings.default.py settings.py
vi settings.py  # adjust your settings

python3 fromredis.py

# Serving file to MISP
bash install.sh
. ./serv-env/bin/activate
python3 server.py