Land #6189, extraneous Content-Length fix

bug/bundler_fix 4.11.5-2015110801
William Vu 2015-11-06 14:36:40 -06:00
commit 2df149b0a5
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 5 deletions

View File

@ -79,11 +79,7 @@ class Metasploit3 < Msf::Exploit::Remote
'uri' => normalize_uri(datastore['URI'], "admin/file_manager.php/login.php") + "?action=save",
'method' => 'POST',
'data' => data,
'headers' =>
{
'Content-Type' => 'application/x-www-form-urlencoded',
'Content-Length' => data.length,
}
'ctype' => 'application/x-www-form-urlencoded'
}, 3)
# If the upload worked, the server tries to redirect us to some info