We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 262b541 commit 11004abCopy full SHA for 11004ab
lib/metasploit/framework/login_scanner/wordpress_rpc.rb
@@ -37,7 +37,7 @@ def attempt_login(credential)
37
38
if response && response.code == 200 && response.body =~ /<value><int>401<\/int><\/value>/ || response.body =~ /<name>user_id<\/name>/
39
result_opts.merge!(status: Metasploit::Model::Login::Status::SUCCESSFUL, proof: response)
40
- elsif res.body =~ /<value><int>-32601<\/int><\/value>/
+ elsif response.body =~ /<value><int>-32601<\/int><\/value>/
41
result_opts.merge!(status: Metasploit::Model::Login::Status::UNABLE_TO_CONNECT)
42
else
43
result_opts.merge!(status: Metasploit::Model::Login::Status::INCORRECT, proof: response)
0 commit comments