updates tests to consider msf-ws.log

This commit is contained in:
Adam Galway
2020-09-25 14:45:33 +01:00
parent 5100767985
commit bccc17e4ae
9 changed files with 1252 additions and 61 deletions
+3 -1
View File
@@ -180,6 +180,7 @@ module Msf
WEB_SERVICE_ERROR_REGEX,
'Web Service Errors',
'The following web service errors occurred before the issue occurred:')
errors
end
def self.logs
@@ -192,6 +193,7 @@ module Msf
WEB_SERVICE_LOG_LINE_TOTAL,
'Web Service Logs',
'The following web service logs were recorded before the issue occurred:')
logs
end
def self.versions(framework)
@@ -215,7 +217,7 @@ module Msf
def build_regex_file_section(path, match_total, regex, header_name, blurb)
unless File.file?(path)
build_section(
return build_section(
header_name,
blurb,
"#{path.basename.to_s} does not exist."