Fixed issue with a missing nil check in ftp_login
parent
81acfd2126
commit
40a1d8bcc8
|
@ -80,7 +80,11 @@ class Metasploit3 < Msf::Auxiliary
|
|||
if datastore['RECORD_GUEST']
|
||||
report_ftp_creds(user,pass,@access)
|
||||
else
|
||||
report_ftp_creds(user,pass,@access) unless @accepts_all_logins[@access].include?(ip)
|
||||
if @accepts_all_logins[@access]
|
||||
report_ftp_creds(user,pass,@access) unless @accepts_all_logins[@access].include?(ip)
|
||||
else
|
||||
report_ftp_creds(user,pass,@access)
|
||||
end
|
||||
end
|
||||
end
|
||||
ret
|
||||
|
|
Loading…
Reference in New Issue