Skip to content

MISP-Modules Out of Date - Causing VirusTotal API Issues #24

@AliceGrey

Description

@AliceGrey

Due to changes in VirusTotal's API the misp-module is no longer working in this fork. The issue does not occure when changing to the main docker for misp-modules (https://github.com/MISP/misp-docker) version v2.4.199.

Traceback (most recent call last): File "/home/misp-modules/.local/lib/python3.11/site-packages/misp_modules/__init__.py", line 223, in post response = yield tornado.gen.with_timeout(timeout, future) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/misp-modules/.local/lib/python3.11/site-packages/tornado/gen.py", line 766, in run value = future.result() ^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/misp-modules/.local/lib/python3.11/site-packages/misp_modules/__init__.py", line 208, in run_request response = module.dict_handler(request=dict_payload) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/misp-modules/.local/lib/python3.11/site-packages/misp_modules/modules/expansion/virustotal.py", line 281, in dict_handler client = vt.Client(request['config']['apikey'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/misp-modules/.local/lib/python3.11/site-packages/vt/client.py", line 241, in __init__ self._connector = aiohttp.TCPConnector(ssl=self._verify_ssl) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/misp-modules/.local/lib/python3.11/site-packages/aiohttp/connector.py", line 776, in __init__ super().__init__( File "/home/misp-modules/.local/lib/python3.11/site-packages/aiohttp/connector.py", line 232, in __init__ loop = get_running_loop(loop) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/misp-modules/.local/lib/python3.11/site-packages/aiohttp/helpers.py", line 300, in get_running_loop loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/asyncio/events.py", line 681, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions