Skip to content

Commit

Permalink
fix(scoop-virustotal): fix url used by Get-VirusTotalResult
Browse files Browse the repository at this point in the history
  • Loading branch information
ClassicDarkChocolate committed Jun 4, 2022
1 parent aaa726c commit b834bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/scoop-virustotal.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $requests = 0

Function Get-VirusTotalResult($hash, $app) {
$hash = $hash.ToLower()
$url = "https://www.virustotal.com/ui/files/$hash"
$url = "https://www.virustotal.com/gui/files/$hash"
$wc = New-Object Net.Webclient
$wc.Headers.Add('User-Agent', (Get-UserAgent))
$result = $wc.downloadstring($url)
Expand Down

0 comments on commit b834bfd

Please sign in to comment.