Skip to content

Commit 3af17ff

Browse files
committed
Fixed 'execute_command()' missing 'opts' parameter
1 parent f71589f commit 3af17ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/http/vmturbo_vmtadmin_exec_noauth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def check
9999
end
100100
end
101101

102-
def execute_command(cmd, opts)
102+
def execute_command(cmd, opts = {})
103103
begin
104104
res = send_request_cgi({
105105
'uri' => '/cgi-bin/vmtadmin.cgi',

0 commit comments

Comments
 (0)