From fdcdeab7020e5c18be1c12a4526f90b2c0cdb6bb Mon Sep 17 00:00:00 2001 From: Matt Graeber Date: Wed, 16 Dec 2015 08:50:34 -0800 Subject: Fixed Invoke-WmiCommand credential popup issue Easy fix to issue #97 --- CodeExecution/Invoke-WmiCommand.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CodeExecution') diff --git a/CodeExecution/Invoke-WmiCommand.ps1 b/CodeExecution/Invoke-WmiCommand.ps1 index 80bed86..c15d478 100644 --- a/CodeExecution/Invoke-WmiCommand.ps1 +++ b/CodeExecution/Invoke-WmiCommand.ps1 @@ -185,7 +185,7 @@ the output of your payload back. :P [Management.Automation.PSCredential] [Management.Automation.CredentialAttribute()] - $Credential, + $Credential = [Management.Automation.PSCredential]::Empty, [Management.ImpersonationLevel] $Impersonation, -- cgit v1.2.3