Skip to content

Commit b96fa69

Browse files
committed
Add brackets to print functions
1 parent 8613852 commit b96fa69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/exploits/windows/http/makoserver_cmd_exec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,20 @@ def check
5858

5959
# If response does not include "MakoServer.net", target is not viable.
6060
if res.headers['Server'] !~ /MakoServer.net/
61-
vprint_warning 'Target is not a Mako Server.'
61+
vprint_warning('Target is not a Mako Server.')
6262
return CheckCode::Safe
6363
end
6464

6565
if res.body
6666
if res.body =~ /Incorrect usage/
6767
# We are able to determine that the server has a save.lsp page and
6868
# returns the correct output.
69-
vprint_status 'Mako Server save.lsp returns correct ouput.'
69+
vprint_status('Mako Server save.lsp returns correct ouput.')
7070
return CheckCode::Appears
7171
else
7272
# The page exists, but is not returning the expected output.
7373
# May be a different version?
74-
vprint_warning 'Mako Server save.lsp did not return expected output.'
74+
vprint_warning('Mako Server save.lsp did not return expected output.')
7575
return CheckCode::Detected
7676
end
7777
else

0 commit comments

Comments
 (0)