From 2659539afa71ae92dc340d664681b0ffae57f010 Mon Sep 17 00:00:00 2001 From: Chris Long Date: Sat, 9 May 2020 12:41:52 -0700 Subject: [PATCH] Update install-redteam.ps1 --- Vagrant/scripts/install-redteam.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrant/scripts/install-redteam.ps1 b/Vagrant/scripts/install-redteam.ps1 index 2d999a5..b26ce34 100644 --- a/Vagrant/scripts/install-redteam.ps1 +++ b/Vagrant/scripts/install-redteam.ps1 @@ -1,6 +1,7 @@ # Purpose: Installs Mimikatz and Powersploit into c:\Tools\Mimikatz. Used to install redteam related tooling. Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Installing Red Team Tooling..." +$hostname = $(hostname) # Windows Defender should be disabled already by O&O ShutUp10 and the GPO If ($hostname -eq "win10") {