From a578865e8d1b0184af7810ae286e5e9da673b3d4 Mon Sep 17 00:00:00 2001 From: Chris Long Date: Mon, 24 May 2021 21:19:17 -0700 Subject: [PATCH] Update install-redteam.ps1 --- Vagrant/scripts/install-redteam.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrant/scripts/install-redteam.ps1 b/Vagrant/scripts/install-redteam.ps1 index 61832fe..391b0cd 100644 --- a/Vagrant/scripts/install-redteam.ps1 +++ b/Vagrant/scripts/install-redteam.ps1 @@ -96,7 +96,7 @@ If (-not (Test-Path "c:\Tools\PurpleSharp")) { Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Determining latest release of Purplesharp..." $tag = (Invoke-WebRequest "https://api.github.com/repos/mvelazc0/PurpleSharp/releases" -UseBasicParsing | ConvertFrom-Json)[0].tag_name -$purplesharpDownloadUrl = "https://github.com/mvelazc0/PurpleSharp/releases/download/$tag/PurpleSharp.exe" +$purplesharpDownloadUrl = "https://github.com/mvelazc0/PurpleSharp/releases/download/$tag/PurpleSharp_x64.exe" If (-not (Test-Path "c:\Tools\PurpleSharp\PurpleSharp.exe")) { Invoke-WebRequest -Uri $purplesharpDownloadUrl -OutFile "c:\Tools\PurpleSharp\PurpleSharp.exe" } Else {