Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Held <ilovemilk@wusa.io>2018-09-05 20:03:49 +0300
committerMatthias Held <ilovemilk@wusa.io>2018-09-05 20:03:49 +0300
commita345337c85affcb67d5deb03a170048d81a45a58 (patch)
tree0424a2abd9f495674b362ec79addba3b8bfc201e /lib/AppInfo/Application.php
parente5158d3d1f5c1a9ce02d1ecacb29a50c7f6c23e5 (diff)
Remove file name analysis
Diffstat (limited to 'lib/AppInfo/Application.php')
-rw-r--r--lib/AppInfo/Application.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 42f9bce..de474f9 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -28,7 +28,7 @@ use OCA\RansomwareDetection\Analyzer\SequenceAnalyzer;
use OCA\RansomwareDetection\Analyzer\SequenceSizeAnalyzer;
use OCA\RansomwareDetection\Analyzer\FileTypeFunnellingAnalyzer;
use OCA\RansomwareDetection\Analyzer\EntropyFunnellingAnalyzer;
-use OCA\RansomwareDetection\Analyzer\FileNameAnalyzer;
+use OCA\RansomwareDetection\Analyzer\FileExtensionAnalyzer;
use OCA\RansomwareDetection\Entropy\Entropy;
use OCA\RansomwareDetection\Notification\Notifier;
use OCA\RansomwareDetection\StorageWrapper;
@@ -101,8 +101,8 @@ class Application extends App
);
});
- $container->registerService('FileNameAnalyzer', function ($c) {
- return new FileNameAnalyzer(
+ $container->registerService('FileExtensionAnalyzer', function ($c) {
+ return new FileExtensionAnalyzer(
$c->query(ILogger::class),
$c->query(Entropy::class)