From 10a4ff41dece811682af9f68fcf787f950040f42 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Mon, 21 Oct 2013 15:11:37 -0500 Subject: [PATCH] Delete Content-Length duplicate header --- modules/exploits/multi/http/glassfish_deployer.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/exploits/multi/http/glassfish_deployer.rb b/modules/exploits/multi/http/glassfish_deployer.rb index c33616faa8..5a1dc2b17b 100644 --- a/modules/exploits/multi/http/glassfish_deployer.rb +++ b/modules/exploits/multi/http/glassfish_deployer.rb @@ -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,