From 4ac372e8837e414dda8b5987ce24f2d5b7edc365 Mon Sep 17 00:00:00 2001 From: akiranishikawa Date: Tue, 13 Oct 2020 05:31:06 +0900 Subject: [PATCH] =?UTF-8?q?test=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/detections/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detections/utils.rs b/src/detections/utils.rs index 0855e2da..3ebfe865 100644 --- a/src/detections/utils.rs +++ b/src/detections/utils.rs @@ -193,8 +193,8 @@ mod tests { #[test] fn test_check_obfu() { - let obfutext = utils::check_obfu("dir01"); - assert!(obfutext == "Possible command obfuscation: zeroes and ones (possible numeric or binary encoding)\n"); + let obfutext = utils::check_obfu("string"); + assert!(obfutext == "Possible command obfuscation: 100% zeroes and ones (possible numeric or binary encoding)\n"); } #[test]