Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update antivirus_irma.py #440

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Jan 29, 2019

  1. Update antivirus_irma.py

    Some IRMA probes in 'report.json' may contain filed "status" with value equal to "-1".
    Json chunk containing "status":-1 does not contain "resuts" field (other chunks with different status value contains "result" field)
    This leads to the following error:
    
    ```
    Failed to run 'on_complete' of the antivirus_irma signature
    Traceback (most recent call last):
      File "/opt/cuckoo/venv/local/lib/python2.7/site-packages/cuckoo/core/plugins.py", line 414, in call_signature
        if not signature.matched and handler(*args, **kwargs):
      File "/opt/cuckoo/data/signatures/windows/antivirus_irma.py", line 33, in on_complete
        verdict = result["results"]
    KeyError: 'results'
    ```
    
    Some kind of check or exception handling is required here
    r00t0vi4 authored Jan 29, 2019
    Configuration menu
    Copy the full SHA
    6ecee30 View commit details
    Browse the repository at this point in the history