PyMISP/examples/ioc_2_misp
Raphaël Vinot 481284dc12 chg: Update mypy, change accordingly 2021-06-21 11:20:41 -07:00
..
README.md chg: Update mypy, change accordingly 2021-06-21 11:20:41 -07:00
ioc2misp.py chg: Update mypy, change accordingly 2021-06-21 11:20:41 -07:00
keys.py.sample chg: Update mypy, change accordingly 2021-06-21 11:20:41 -07:00
taxonomy.csv chg: Update mypy, change accordingly 2021-06-21 11:20:41 -07:00

README.md

Description

Python script for ioc import to misp

requires

python 2.7
PyMISP
BeautifulSoup (apt-get install python-bs4 python-lxml)

Usage

python ioc2misp.py -i myioc -t "tag:mytag='sample','tag:other='foo'"
time find /iocsample -type f|while read line ;do python ioc2misp.py -i ${line};done

Conf

  • rename keys.py.sample as keys.py
  • add your url and api key in keys.py
  • use command in terminal