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] Hash is not parsed correctly for scoop-virustotal #6064

Closed
ZzzZeta opened this issue Jul 19, 2024 · 0 comments · Fixed by #6080
Closed

[Bug] Hash is not parsed correctly for scoop-virustotal #6064

ZzzZeta opened this issue Jul 19, 2024 · 0 comments · Fixed by #6080
Labels

Comments

@ZzzZeta
Copy link

ZzzZeta commented Jul 19, 2024

Bug Report

Related to #5920

Current Behavior

scoop virustotal -sp extras/calibre
WARN  extras/calibre: Unsupported hash sha512. Will search by url instead.
INFO  extras/calibre: Url report found.
INFO  extras/calibre: Related file report found.
WARN  extras/calibre: File report not found for unknown reason. Manual file upload is required (instead of url submission).

App.Name       : extras/calibre
App.Url        : https://download.calibre-ebook.com/7.15.0/calibre-portable-installer-7.15.0.exe
App.Hash       :
App.HashType   : sha512
FileReport.Url :
UrlReport.Url  : https://www.virustotal.com/gui/url/["86615908c07dfd3ced6c7e8b33ba4fdf6143534a38f8204bc2a64e4462104848"]
UrlReport.Hash : ["97b1061c57b22ff0374081541990ec98a4b421816d44f0233d4ca0eab6225e60"]

Expected Behavior

scoop virustotal -sp git
main/git: 0/54, see https://www.virustotal.com/gui/file/851a15074dea6b272785b2a2a4697a72970256de2afe7b8e4a9c5e168c27ccdd

App.Name              : main/git
App.Url               : https://github.com/git-for-windows/git/releases/download/v2.45.2.windows.1/PortableGit-2.45.2-64-bit.7z.exe#/dl.7z
App.Hash              : 851a15074dea6b272785b2a2a4697a72970256de2afe7b8e4a9c5e168c27ccdd
App.HashType          : sha256
App.Size              : 60.1 MB
FileReport.Url        : https://www.virustotal.com/gui/file/851a15074dea6b272785b2a2a4697a72970256de2afe7b8e4a9c5e168c27ccdd
FileReport.Hash       : 851a15074dea6b272785b2a2a4697a72970256de2afe7b8e4a9c5e168c27ccdd
FileReport.Malicious  : 0
FileReport.Suspicious : 0
FileReport.Timeout    : 16
FileReport.Undetected : 54
UrlReport.Url         :

Additional context/output

Possible Solution

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 7.4.3

Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

{
  "last_update": "2024-07-19T15:59:31.9890328+08:00",
  "virustotal_api_key": "REDACTED",
  "show_manifest": true,
  "aria2-enabled": true,
  "cat_style": "default",
  "gh_token": "REDACTED",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "master"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant