Bug with HTTP POST requests (content type sent twice)

bug/bundler_fix
Rich Lundeen 2014-04-28 18:44:02 -07:00
parent 8a4c7b22ed
commit 60b9f855b4
1 changed files with 0 additions and 5 deletions

View File

@ -269,11 +269,6 @@ class Metasploit3 < Msf::Auxiliary
theaders = ('Authorization: NTLM ' << hash << "\r\n" <<
"Connection: Keep-Alive\r\n" )
if (method == 'POST')
theaders << 'Content-Length: ' <<
(@finalputdata.length + 4).to_s()<< "\r\n"
end
# HTTP_HEADERFILE is how this module supports cookies, multipart forms, etc
if datastore['HTTP_HEADERFILE'] != nil
print_status("Including extra headers from: #{datastore['HTTP_HEADERFILE']}")