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 f8d6af6 commit 44f7db4Copy full SHA for 44f7db4
lib/metasploit/framework/login_scanner/buffalo.rb
@@ -47,7 +47,7 @@ def attempt_login(credential)
47
})
48
res = cli.send_recv(req)
49
body = JSON.parse(res.body)
50
- if res && body.has_key?('data') && body['data'].length && body['data'][0]['pageMode'] == 0
+ if res && body.has_key?('success') && body['success']
51
result_opts.merge!(status: Metasploit::Model::Login::Status::SUCCESSFUL, proof: res.body)
52
else
53
result_opts.merge!(status: Metasploit::Model::Login::Status::INCORRECT, proof: res)
0 commit comments