Fix a typeo that stopped the Defender exclusions of \tools directory

This commit is contained in:
Ahmed Shawky
2020-03-15 09:40:01 +04:00
parent c351643c8c
commit d4a9699cdd

View File

@@ -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