kaspersky endpoint security scan backend

This commit is contained in:
Volodymyr Smirnov
2020-10-22 14:15:27 +03:00
parent 46974066a4
commit 45c86b8467
6 changed files with 70 additions and 7 deletions

View File

@@ -21,9 +21,7 @@ namespace MalwareMultiScan.Backends.Backends.Implementations
protected override Regex MatchRegex { get; } =
new Regex(@".* - infected with (?<threat>[\S ]+)", RegexOptions.Compiled | RegexOptions.Multiline);
protected override bool ParseStdErr { get; } = false;
protected override string GetBackendArguments(string path)
{
return $"scan {path}";