Closed kiyori-lw closed 1 year ago
seems to also affect dc
Can confirm, ran into this issue as well.
The problem, as far I can see, is in the $velociraptorDownloadUrl variable, that is not setted correctly.
So a possible workaround (that fixes the string always to the same version) is setting the variable as in the following line
$velociraptorDownloadUrl = "https://github.com/Velocidex/velociraptor/releases/download/v0.6.6-1/velociraptor-v0.6.6-2-windows-amd64.msi"
Had the same issue on the logger.
Changed
LATEST_VELOCIRAPTOR_LINUX_URL=$(curl -sL "https://github.com/Velocidex/velociraptor/releases/latest" | grep linux-amd64 | grep href | head -1 | cut -d '"' -f 2 | sed 's#^#https://github.com#g')
to
LATEST_VELOCIRAPTOR_LINUX_URL=$(curl -sL https://github.com/Velocidex/velociraptor/releases/ | grep linux-amd64 | grep href | head -1 | cut -d '"' -f 2 | sed 's#^#https://github.com#g')
and Velociraptor installed correctly and is reachable.
Weird, I can't reproduce this:
==> win10: Running provisioner: shell...
win10: Running: scripts/install-velociraptor.ps1 as C:\tmp\vagrant-shell.ps1
win10: [22:48] Adding logger to the hosts file
win10: [22:48] Determining latest release of Velociraptor...
win10: [22:48] Downloading Velociraptor...
win10: [22:48] Installing Velociraptor...
win10: [22:48] Velociraptor successfully installed!
In any case, the updated commands for URL generation you folks supplied seem to work fine, so I'll go ahead and update!
Please verify that you are building from an updated Master branch before filing an issue.
Description of the issue:
Link to Gist Containing Build Logs: