From 730ec094646324caec0681da6e87ca9495342bd0 Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Wed, 27 Oct 2010 20:12:51 +0000 Subject: [PATCH] Allow for blank FTP usernames. Just not nil ones. git-svn-id: file:///home/svn/framework3/trunk@10834 4d416f70-5f16-0410-b530-b9f4589650da --- modules/auxiliary/scanner/ftp/ftp_login.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/scanner/ftp/ftp_login.rb b/modules/auxiliary/scanner/ftp/ftp_login.rb index 4b48119f0c..5332f9b6c0 100644 --- a/modules/auxiliary/scanner/ftp/ftp_login.rb +++ b/modules/auxiliary/scanner/ftp/ftp_login.rb @@ -54,7 +54,7 @@ class Metasploit3 < Msf::Auxiliary print_status("#{ip}:#{rport} - Starting FTP login sweep") if check_banner each_user_pass { |user, pass| - next if user.nil? || user.empty? + next if user.nil? ret = do_login(user,pass) ftp_quit if datastore['SINGLE_SESSION'] ret