Fix the check to not report empty user/pass
git-svn-id: file:///home/svn/framework3/trunk@13989 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
fadeada83c
commit
e4290e40c4
|
@ -114,7 +114,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
}
|
}
|
||||||
report_auth_info(auth)
|
report_auth_info(auth)
|
||||||
|
|
||||||
if user.nil? or pass.nil?
|
if user.nil? or pass.nil? or user.empty? or pass.empty?
|
||||||
print_error("Failed to collect the username and password")
|
print_error("Failed to collect the username and password")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue