diff options
author | Matt Graeber <mattgraeber@gmail.com> | 2015-12-16 08:50:34 -0800 |
---|---|---|
committer | Matt Graeber <mattgraeber@gmail.com> | 2015-12-16 08:50:34 -0800 |
commit | fdcdeab7020e5c18be1c12a4526f90b2c0cdb6bb (patch) | |
tree | 5307703a7bb2fb36e5c9d91fa95c1f65baee3401 /CodeExecution | |
parent | fef09e6cc1371cc51fa94c087299d00929f19d91 (diff) | |
download | PowerSploit-fdcdeab7020e5c18be1c12a4526f90b2c0cdb6bb.tar.gz PowerSploit-fdcdeab7020e5c18be1c12a4526f90b2c0cdb6bb.zip |
Fixed Invoke-WmiCommand credential popup issue
Easy fix to issue #97
Diffstat (limited to 'CodeExecution')
-rw-r--r-- | CodeExecution/Invoke-WmiCommand.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
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, |