From d3354d01f013437045cef3ece682454ff1970744 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Mon, 6 Oct 2014 15:42:51 -0500 Subject: [PATCH] Fix #3808 - NoMethodError undefined method `map' NoMethodError undefined method `map' due to an incorrect use of load_password_vars --- modules/auxiliary/scanner/http/wordpress_login_enum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/scanner/http/wordpress_login_enum.rb b/modules/auxiliary/scanner/http/wordpress_login_enum.rb index daa69dc821..20f678984c 100644 --- a/modules/auxiliary/scanner/http/wordpress_login_enum.rb +++ b/modules/auxiliary/scanner/http/wordpress_login_enum.rb @@ -90,7 +90,7 @@ class Metasploit3 < Msf::Auxiliary # Brute force previously found users if not usernames.empty? print_status("#{target_uri} - Brute-forcing previously found accounts...") - passwords = load_password_vars(datastore['PASS_FILE']) + passwords = load_password_vars usernames.each do |user| passwords.each do |pass| do_login(user, pass)