This fix is to make sure BLANK_PASSWORDS functions properly. See bug #5363.
git-svn-id: file:///home/svn/framework3/trunk@13684 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
400afbadf8
commit
14d2a45c5b
|
@ -51,6 +51,13 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
register_autofilter_ports((5900..5910).to_a) # Each instance increments the port by one.
|
||||
|
||||
#We need to set the following options to make sure BLANK_PASSWORDS functions properly
|
||||
register_options(
|
||||
[
|
||||
OptString.new('USERNAME', [false, 'A specific username to authenticate as', '<BLANK>']),
|
||||
OptBool.new('USER_AS_PASS', [false, 'Try the username as the password for all users', false])
|
||||
])
|
||||
|
||||
# We don't currently support an auth mechanism that uses usernames, so we'll ignore any
|
||||
# usernames that are passed in.
|
||||
@strip_usernames = true
|
||||
|
|
Loading…
Reference in New Issue