diff --git a/modules/auxiliary/scanner/nessus/nessus_xmlrpc_login.rb b/modules/auxiliary/scanner/nessus/nessus_xmlrpc_login.rb index 16d425bc27..255462f94e 100644 --- a/modules/auxiliary/scanner/nessus/nessus_xmlrpc_login.rb +++ b/modules/auxiliary/scanner/nessus/nessus_xmlrpc_login.rb @@ -61,9 +61,9 @@ class Metasploit3 < Msf::Auxiliary return end - each_user_pass { |user, pass| + each_user_pass do |user, pass| do_login(user, pass) - } + end end def do_login(user='nessus', pass='nessus')