From eec19d108e8a4f84a2042122b665e8c772f20451 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Sun, 27 Jan 2008 02:08:13 +0000 Subject: [PATCH] Handling empty strings as a valid required option is tricky, just make the password option non-required git-svn-id: file:///home/svn/framework3/trunk@5363 4d416f70-5f16-0410-b530-b9f4589650da --- modules/exploits/windows/smb/psexec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/windows/smb/psexec.rb b/modules/exploits/windows/smb/psexec.rb index 9bf45db75e..29e790efcb 100644 --- a/modules/exploits/windows/smb/psexec.rb +++ b/modules/exploits/windows/smb/psexec.rb @@ -76,7 +76,7 @@ class Exploits::Windows::Smb::Psexec < Msf::Exploit::Remote register_options( [ OptString.new('SMBUser', [ true, 'The username to authenticate as', "Administrator"]), - OptString.new('SMBPass', [ true, 'The password for the specified username', ""]) + OptString.new('SMBPass', [ false, 'The password for the specified username', ""]) ], self.class) end