Fix the check to not report empty user/pass

git-svn-id: file:///home/svn/framework3/trunk@13989 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-10-18 09:10:00 +00:00
parent fadeada83c
commit e4290e40c4
1 changed files with 1 additions and 1 deletions

View File

@ -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