Allow for blank FTP usernames. Just not nil ones.

git-svn-id: file:///home/svn/framework3/trunk@10834 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2010-10-27 20:12:51 +00:00
parent 1f235a8c9b
commit 730ec09464
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Metasploit3 < Msf::Auxiliary
print_status("#{ip}:#{rport} - Starting FTP login sweep") print_status("#{ip}:#{rport} - Starting FTP login sweep")
if check_banner if check_banner
each_user_pass { |user, pass| each_user_pass { |user, pass|
next if user.nil? || user.empty? next if user.nil?
ret = do_login(user,pass) ret = do_login(user,pass)
ftp_quit if datastore['SINGLE_SESSION'] ftp_quit if datastore['SINGLE_SESSION']
ret ret