diff --git a/lib/core/dump.py b/lib/core/dump.py index 4b4ac2cd4..4e49b7c06 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -512,8 +512,7 @@ class Dump: self.string(query, queryRes) def rFile(self, filePath, fileData): - if fileData: - self.string("%s file saved to" % filePath, fileData, sort=False) + self.string("%s file saved to" % filePath, fileData, sort=False) def registerValue(self, registerData): self.string("Registry key value data", registerData, sort=False) diff --git a/lib/core/settings.py b/lib/core/settings.py index bb6f6717e..e2843726f 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -265,6 +265,7 @@ CURRENT_DB = "CD" # Regular expressions used for parsing error messages (--parse-errors) ERROR_PARSING_REGEXES = ( r"[^<]*(fatal|error|warning|exception)[^<]*:?\s*(?P.+?)", + r"(?m)^(fatal|error|warning|exception):?\s*(?P.+?)$", r"
  • Error Type:
    (?P.+?)
  • ", r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P[^<>]+)" )