Land #3316, Content-Length fix for http_ntlmrelay

bug/bundler_fix
William Vu 2014-05-05 13:38:36 -05:00
commit 353a50cdd0
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
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']}")