Allow for blank FTP usernames. Just not nil ones.
git-svn-id: file:///home/svn/framework3/trunk@10834 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1f235a8c9b
commit
730ec09464
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue