Land #2559 - remove content-length

This commit is contained in:
sinn3r
2013-10-22 16:03:42 -05:00
2 changed files with 0 additions and 2 deletions
@@ -121,7 +121,6 @@ class Metasploit3 < Msf::Exploit::Remote
'headers' =>
{
'Content-Type' => 'multipart/form-data; boundary=' + boundary,
'Content-Length' => data.length,
'Cookie' => "JSESSIONID=#{session}",
}
}, 25)
@@ -88,7 +88,6 @@ class Metasploit3 < Msf::Exploit::Remote
headers = {}
headers['Cookie'] = "JSESSIONID=#{session}" if session != ''
headers['Content-Type'] = ctype if ctype != nil
headers['Content-Length'] = data.length if data != nil
res = send_request_raw({
'uri' => path,