Land #2559 - remove content-length
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user