Skip to content

Improper error handling in YaraScan module #32

@awest1339

Description

@awest1339
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/opt/multiscanner/multiscanner.py", line 101, in run
    self.ret = self.__target(*self.__args, **self.__kwargs)
  File "/opt/multiscanner/multiscanner.py", line 258, in _run_module
    results = mod.scan(filelist, conf=conf)
  File "/opt/multiscanner/modules/Signature/YaraScan.py", line 55, in scan
    bad_file = e.message.split('(')[0]
AttributeError: 'SyntaxError' object has no attribute 'message'

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