mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-25 05:52:23 +00:00
basic structure and initial scan request service
This commit is contained in:
@@ -11,14 +11,14 @@ namespace MalwareMultiScan.Backends.Backends.Implementations
|
||||
public DrWebScanBackend(ILogger logger) : base(logger)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override string Id { get; } = "drweb";
|
||||
|
||||
|
||||
public override DateTime DatabaseLastUpdate =>
|
||||
File.GetLastWriteTime("/var/opt/drweb.com/version/version.ini");
|
||||
|
||||
protected override string BackendPath { get; } = "/usr/bin/drweb-ctl";
|
||||
|
||||
|
||||
protected override Regex MatchRegex { get; } =
|
||||
new Regex(@".* - infected with (?<threat>[\S ]+)", RegexOptions.Compiled | RegexOptions.Multiline);
|
||||
|
||||
|
Reference in New Issue
Block a user