mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Update FileEventMonitor.cs
This commit is contained in:
parent
f0a7316eef
commit
cf34039f5a
|
@ -167,8 +167,8 @@ namespace WelsonJS.Service
|
|||
List<Match> ruleMatches = match.Value;
|
||||
ruleMatches.ForEach((x) =>
|
||||
{
|
||||
parent.Log($"YARA rule matched: {ruleName}, {filePath}");
|
||||
parent.DispatchServiceEvent("fileRuleMatched", new string[] { ruleName, filePath });
|
||||
parent.Log($"YARA rule matched: {ruleName}, {filePath}, Offset {x.Offset}");
|
||||
parent.DispatchServiceEvent("fileRuleMatched", new string[] { ruleName, filePath, x.Offset.ToString() });
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user