Updated readme

pull/204/head
Sami Mokaddem 2018-03-12 15:34:12 +01:00
parent 38c22ba954
commit 80517aaf41
2 changed files with 9 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class CowrieMISPObject(AbstractMISPObjectGenerator):
for object_relation, value in self._dico_val.items():
if object_relation in skip_list or 'log_' in object_relation:
continue
# cast to datetime
if object_relation == 'timestamp':
# Date already in ISO format, removing trailing Z
value = value.rstrip('Z')

View File

@ -5,9 +5,16 @@ This python script can be used to generate a MISP feed based on data stored in r
# Installation
````
# Feed generator
git clone https://github.com/CIRCL/PyMISP
cd examples/feed-generator-from-redis
cp settings-default.py settings.py
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
````