mirror of https://github.com/MISP/PyMISP
Updated readme
parent
38c22ba954
commit
80517aaf41
|
@ -21,7 +21,7 @@ class CowrieMISPObject(AbstractMISPObjectGenerator):
|
||||||
for object_relation, value in self._dico_val.items():
|
for object_relation, value in self._dico_val.items():
|
||||||
if object_relation in skip_list or 'log_' in object_relation:
|
if object_relation in skip_list or 'log_' in object_relation:
|
||||||
continue
|
continue
|
||||||
# cast to datetime
|
|
||||||
if object_relation == 'timestamp':
|
if object_relation == 'timestamp':
|
||||||
# Date already in ISO format, removing trailing Z
|
# Date already in ISO format, removing trailing Z
|
||||||
value = value.rstrip('Z')
|
value = value.rstrip('Z')
|
||||||
|
|
|
@ -5,9 +5,16 @@ This python script can be used to generate a MISP feed based on data stored in r
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
````
|
````
|
||||||
|
# Feed generator
|
||||||
git clone https://github.com/CIRCL/PyMISP
|
git clone https://github.com/CIRCL/PyMISP
|
||||||
cd examples/feed-generator-from-redis
|
cd examples/feed-generator-from-redis
|
||||||
cp settings-default.py settings.py
|
cp settings.default.py settings.py
|
||||||
vi settings.py # adjust your settings
|
vi settings.py # adjust your settings
|
||||||
|
|
||||||
python3 fromredis.py
|
python3 fromredis.py
|
||||||
|
|
||||||
|
# Serving file to MISP
|
||||||
|
bash install.sh
|
||||||
|
. ./serv-env/bin/activate
|
||||||
|
python3 server.py
|
||||||
````
|
````
|
||||||
|
|
Loading…
Reference in New Issue