Fix bug #6256: uninitialized class variable error

unstable
sinn3r 2012-01-17 17:58:53 -06:00
parent c5ce575543
commit 7d9ba6f5e9
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ class Metasploit3 < Msf::Auxiliary
def run_host(ip)
print_status("#{ip}:#{rport} - Starting FTP login sweep")
if check_banner
@@credentials_tried = {}
if datastore['RECORD_GUEST'] == false and check_anonymous == :next_user
@accepts_all_logins[@access] ||= []
@accepts_all_logins[@access] << ip