From 47d4696147f2bacedfae4fe1afdfd9e5013d91d0 Mon Sep 17 00:00:00 2001 From: Chris Long Date: Mon, 9 Mar 2020 00:49:32 -0700 Subject: [PATCH] Update install-redteam.ps1 --- Vagrant/scripts/install-redteam.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Vagrant/scripts/install-redteam.ps1 b/Vagrant/scripts/install-redteam.ps1 index 1f42a49..7d9c591 100644 --- a/Vagrant/scripts/install-redteam.ps1 +++ b/Vagrant/scripts/install-redteam.ps1 @@ -3,9 +3,11 @@ Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Installing Red Team Tooling..." # Windows Defender should be disabled already by O&O ShutUp10 +If ($hostname -eq "win10") { # Adding Defender exclusions just in case -Add-MpPreference -ExclusionPath “C:\Tools” +Set-MpPreference -ExclusionPath “C:\Tools” Add-MpPreference -ExclusionPath “C:\Users\vagrant\AppData\Local\Temp” +} # Purpose: Downloads and unzips a copy of the latest Mimikatz trunk Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Determining latest release of Mimikatz..."