Skip to content

Commit 5c436f2

Browse files
committed
Appease msftidy in tr064_ntpserver_cmdinject
Also s/"/'/g.
1 parent 5d6a159 commit 5c436f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/http/tr064_ntpserver_cmdinject.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def execute_command(cmd, opts)
104104
def check
105105
begin
106106
res = send_request_cgi({
107-
'method' => "GET",
108-
'uri' => '/globe' # TODO: Check this? Why not /UD/act?1
107+
'method' => 'GET',
108+
'uri' => '/globe'
109109
})
110110
rescue ::Rex::ConnectionError
111111
vprint_error("#{peer} - A connection error has occured")

0 commit comments

Comments
 (0)