small bugfix
parent
7d6b6cba43
commit
3faa48d810
|
@ -62,10 +62,10 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
}
|
||||
})
|
||||
|
||||
session_cookie = res.get_cookies
|
||||
|
||||
fail_with(Failure::NoAccess, 'Error accessing MantisBT') unless res && res.code == 200
|
||||
|
||||
session_cookie = res.get_cookies
|
||||
|
||||
print_status('Logging in...')
|
||||
res = send_request_cgi({
|
||||
'method' => 'POST',
|
||||
|
|
Loading…
Reference in New Issue