File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/exploits/windows/http Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,20 +58,20 @@ def check
58
58
59
59
# If response does not include "MakoServer.net", target is not viable.
60
60
if res . headers [ 'Server' ] !~ /MakoServer.net/
61
- vprint_warning 'Target is not a Mako Server.'
61
+ vprint_warning ( 'Target is not a Mako Server.' )
62
62
return CheckCode ::Safe
63
63
end
64
64
65
65
if res . body
66
66
if res . body =~ /Incorrect usage/
67
67
# We are able to determine that the server has a save.lsp page and
68
68
# returns the correct output.
69
- vprint_status 'Mako Server save.lsp returns correct ouput.'
69
+ vprint_status ( 'Mako Server save.lsp returns correct ouput.' )
70
70
return CheckCode ::Appears
71
71
else
72
72
# The page exists, but is not returning the expected output.
73
73
# 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.' )
75
75
return CheckCode ::Detected
76
76
end
77
77
else
You can’t perform that action at this time.
0 commit comments