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-13 19:29:51 +0300
committerMatthias Held <ilovemilk@wusa.io>2018-09-13 19:29:51 +0300
commit4a1cff97b588e6047168f6d91de92cc6a0d9534f (patch)
tree55961261abf4fb3eb517700d2064750b0e0312c2 /tests/Unit
parent638143177e906a90ce87fe3f15570f72bd61d7f7 (diff)
Add text file signature exception
Signed-off-by: Matthias Held <matthias.held@uni-konstanz.de>
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php b/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php
index 0bc0f40..b5d97a1 100644
--- a/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php
+++ b/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php
@@ -103,6 +103,7 @@ class FileCorruptionAnalyzerTest extends TestCase
['data' => 'ffd8ffe000104a46494600ffff', 'extension' => 'jpg', 'result' => true],
['data' => '25504446ff0d2525454f460d', 'extension' => 'pdf', 'result' => false],
['data' => 'ffff', 'extension' => 'jpg', 'result' => true],
+ ['data' => 'iamgroot', 'extension' => 'txt', 'result' => false],
];
}