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] Virus Total Intelligence #358

Closed
ssnkhan opened this issue Sep 30, 2021 · 2 comments · Fixed by #359
Closed

[BUG] Virus Total Intelligence #358

ssnkhan opened this issue Sep 30, 2021 · 2 comments · Fixed by #359
Labels
bug Something isn't working

Comments

@ssnkhan
Copy link

ssnkhan commented Sep 30, 2021

Describe the bug

Running a virustotal_intelligence query returns several ruby errors, and no results.

Steps to reproduce

  1. Running Mihari v 3.9.1
  2. Run via CLI mihari analyze virustotal_intelligence 'entity:file tag:"cve-2021-40444"' --title "CVE-2021-40444" --description "Identifies samples leveraging CVE-2021-40444" --tags "Exploit"
  3. Returns several errors:
/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

/var/lib/gems/2.7.0/gems/dry-container-0.8.0/lib/dry/container/mixin.rb:68:in `class_eval' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead

Could not find command "analyse".
Did you mean?  "analyze"

Expected behavior

Should expect Mihari to store the SHA256 hashes of the matching files.

Actual behavior

Error returned, as above

Screenshots

N/A

System Information:

  • OS: Ubuntu 20.04.1, Minimal Install
  • Ruby version: 2.7.0
  • Mihari version: 3.9.1

Additional context

None.

@ssnkhan ssnkhan added the bug Something isn't working label Sep 30, 2021
@ssnkhan
Copy link
Author

ssnkhan commented Sep 30, 2021

Update -- Mihari returns results after a few minutes, but still shows the errors first.

ninoseki added a commit that referenced this issue Sep 30, 2021
@ninoseki
Copy link
Owner

ninoseki commented Oct 1, 2021

It's an warning, not an error.
But yes it's annoying so I fixed it. Thank you for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants