typo fix
parent
262b5413bc
commit
11004ab7c6
|
@ -37,7 +37,7 @@ module Metasploit
|
||||||
|
|
||||||
if response && response.code == 200 && response.body =~ /<value><int>401<\/int><\/value>/ || response.body =~ /<name>user_id<\/name>/
|
if response && response.code == 200 && response.body =~ /<value><int>401<\/int><\/value>/ || response.body =~ /<name>user_id<\/name>/
|
||||||
result_opts.merge!(status: Metasploit::Model::Login::Status::SUCCESSFUL, proof: response)
|
result_opts.merge!(status: Metasploit::Model::Login::Status::SUCCESSFUL, proof: response)
|
||||||
elsif res.body =~ /<value><int>-32601<\/int><\/value>/
|
elsif response.body =~ /<value><int>-32601<\/int><\/value>/
|
||||||
result_opts.merge!(status: Metasploit::Model::Login::Status::UNABLE_TO_CONNECT)
|
result_opts.merge!(status: Metasploit::Model::Login::Status::UNABLE_TO_CONNECT)
|
||||||
else
|
else
|
||||||
result_opts.merge!(status: Metasploit::Model::Login::Status::INCORRECT, proof: response)
|
result_opts.merge!(status: Metasploit::Model::Login::Status::INCORRECT, proof: response)
|
||||||
|
|
Loading…
Reference in New Issue