Skip to content

Commit f720b51

Browse files
committed
Lint
1 parent 7c9bddc commit f720b51

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

modules/exploits/multi/http/wso2_api_manager_file_upload_rce.rb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,14 @@ def authenticate
172172
'sessionDataKey' => nounce
173173
}
174174

175-
opts = { 'uri' => normalize_uri(target_uri.path, '/commonauth'),
176-
'method' => 'POST',
177-
'headers' => {
178-
'Connection' => 'keep-alive'
179-
},
180-
'keep_cookies' => true,
181-
'vars_post' => auth_data
175+
opts = {
176+
'uri' => normalize_uri(target_uri.path, '/commonauth'),
177+
'method' => 'POST',
178+
'headers' => {
179+
'Connection' => 'keep-alive'
180+
},
181+
'keep_cookies' => true,
182+
'vars_post' => auth_data
182183
}
183184

184185
res = send_request_cgi!(opts, 20, 2) # timeout and redirect_depth

0 commit comments

Comments
 (0)