diff --git a/modules/exploits/multi/http/oracle_ats_file_upload.rb b/modules/exploits/multi/http/oracle_ats_file_upload.rb index 1f99dccf92..873b5fbad7 100644 --- a/modules/exploits/multi/http/oracle_ats_file_upload.rb +++ b/modules/exploits/multi/http/oracle_ats_file_upload.rb @@ -77,7 +77,7 @@ class MetasploitModule < Msf::Exploit::Remote mime.add_part('.', nil, nil, 'form-data; name="storage.workspace"') mime.add_part(jsp_directory, nil, nil, 'form-data; name="directory"') - register_files_for_cleanup(jsp_path) + register_file_for_cleanup(jsp_path) send_request_cgi( 'method' => 'POST',