misp-modules icon indicating copy to clipboard operation
misp-modules copied to clipboard

openiocimport module fail

Open syloktools opened this issue 6 years ago • 0 comments

I am getting the following error when using the openiocimport module.

ERROR:misp-modules:Something went wrong:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/misp_modules/__init__.py", line 197, in post
    response = yield tornado.gen.with_timeout(timeout, self.run_request(jsonpayload))
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1099, in run
    value = future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.5/dist-packages/misp_modules/__init__.py", line 185, in run_request
    response = mhandlers[x['module']].handler(q=jsonpayload)
  File "/usr/local/lib/python3.5/dist-packages/misp_modules/modules/import_mod/openiocimport.py", line 43, in handler
    pkg = openioc.load_openioc(package)
  File "/usr/local/lib/python3.5/dist-packages/pymisp/tools/openioc.py", line 179, in load_openioc
    if not misp_event.info:
AttributeError: 'MISPEvent' object has no attribute 'info'

syloktools avatar Apr 27 '18 19:04 syloktools