From 57583938e5d5cadeb72fb940425df12875394a1a Mon Sep 17 00:00:00 2001 From: Chris Long Date: Thu, 8 Apr 2021 10:12:44 -0700 Subject: [PATCH] Workaround Issue#636 https://github.com/clong/DetectionLab/issues/636 --- Vagrant/scripts/install-velociraptor.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrant/scripts/install-velociraptor.ps1 b/Vagrant/scripts/install-velociraptor.ps1 index cecd222c4..e25413803 100644 --- a/Vagrant/scripts/install-velociraptor.ps1 +++ b/Vagrant/scripts/install-velociraptor.ps1 @@ -16,8 +16,8 @@ Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Determining latest release of Velocir $ProgressPreference = 'SilentlyContinue' $tag = (Invoke-WebRequest "https://api.github.com/repos/Velocidex/velociraptor/releases" -UseBasicParsing | ConvertFrom-Json)[0].tag_name # Workaround hardcoded URL until this issue gets fixed: https://github.com/Velocidex/velociraptor/issues/528 -#$velociraptorDownloadUrl = "https://github.com/Velocidex/velociraptor/releases/download/v0.4.7/velociraptor-v0.4.7-1-windows-amd64.msi" -$velociraptorDownloadUrl = "https://github.com/Velocidex/velociraptor/releases/download/$tag/velociraptor-$tag-windows-amd64.msi" +$velociraptorDownloadUrl = "https://github.com/Velocidex/velociraptor/releases/download/v0.5.7/velociraptor-v0.5.7-windows-amd64.msi" +#$velociraptorDownloadUrl = "https://github.com/Velocidex/velociraptor/releases/download/$tag/velociraptor-$tag-windows-amd64.msi" $velociraptorMSIPath = 'C:\Users\vagrant\AppData\Local\Temp\velociraptor.msi' $velociraptorLogFile = 'c:\Users\vagrant\AppData\Local\Temp\velociraptor_install.log' If (-not (Test-Path $velociraptorLogFile)) {