From d4a9699cdd8525199dcd8a6cdac87ef243ad3165 Mon Sep 17 00:00:00 2001 From: Ahmed Shawky Date: Sun, 15 Mar 2020 09:40:01 +0400 Subject: [PATCH] Fix a typeo that stopped the Defender exclusions of \tools directory --- Vagrant/scripts/install-redteam.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrant/scripts/install-redteam.ps1 b/Vagrant/scripts/install-redteam.ps1 index 4795462..7c2e0db 100644 --- a/Vagrant/scripts/install-redteam.ps1 +++ b/Vagrant/scripts/install-redteam.ps1 @@ -5,8 +5,8 @@ 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 -Set-MpPreference -ExclusionPath “C:\Tools” -Add-MpPreference -ExclusionPath “C:\Users\vagrant\AppData\Local\Temp” +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