From d46ab291869852f9f879b2217db6a5c3fb056601 Mon Sep 17 00:00:00 2001 From: wchen-r7 Date: Tue, 19 Jan 2016 20:03:02 -0600 Subject: [PATCH] Don't name the method #send --- lib/metasploit/framework/login_scanner/wordpress_rpc.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/metasploit/framework/login_scanner/wordpress_rpc.rb b/lib/metasploit/framework/login_scanner/wordpress_rpc.rb index b6c98def53..7abe795462 100644 --- a/lib/metasploit/framework/login_scanner/wordpress_rpc.rb +++ b/lib/metasploit/framework/login_scanner/wordpress_rpc.rb @@ -62,7 +62,7 @@ module Metasploit xml_payloads end - def send(xml) + def send_wp_request(xml) opts = { 'method' => 'POST', @@ -87,7 +87,7 @@ module Metasploit def attempt_login(credential) #$stderr.puts "Testing: #{credential.public}" generate_xml(credential.public).each do |xml| - send(xml) + send_wp_request(xml) req_xml = Nokogiri::Slop(xml) res_xml = Nokogiri::Slop(@res.to_s.scan(/<.*>/).join) res_xml.search("methodResponse/params/param/value/array/data/value").each_with_index do |value, i|