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

[Bug] VMRay Returns Error #520

Closed
ghost opened this issue Aug 1, 2019 · 2 comments
Closed

[Bug] VMRay Returns Error #520

ghost opened this issue Aug 1, 2019 · 2 comments
Assignees
Labels
category:bug Issue is related to a bug

Comments

@ghost
Copy link

ghost commented Aug 1, 2019

When uploading a exe the following error is returned:

Invalid output
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  warnings.warn(warning, RequestsDependencyWarning)
Traceback (most recent call last):
  File "VMRay/vmray.py", line 103, in <module>
    VMRayAnalyzer().run()
  File "VMRay/vmray.py", line 30, in __init__
    reanalyze=reanalyze)
  File "/opt/Cortex-Analyzers/analyzers/VMRay/vmrayclient.py", line 51, in __init__
    if cert and os.path.isfile(cert):
  File "/usr/lib/python2.7/genericpath.py", line 37, in isfile
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, bool found
@ghost ghost added the category:bug Issue is related to a bug label Aug 1, 2019
@jeromeleonard jeromeleonard added this to the 2.6.0 milestone Feb 28, 2020
@dadokkio
Copy link
Contributor

dadokkio commented Mar 15, 2020

Hi, looking just at the code it seems something related to analyzer configuration.
The error should be present if the "certpath" is missing but "certverify" flag is set to True.
Can you confirm? If this is true you should resolve the issue just turning the "certverify" flag to False

@jeromeleonard jeromeleonard removed this from the 2.6.0 milestone Mar 19, 2020
@jeromeleonard
Copy link
Contributor

@mpgough please reopen that issue if the bug is not fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bug Issue is related to a bug
Projects
None yet
Development

No branches or pull requests

3 participants