From bc031202ef55fd7d55cf0abb402aa34227ed43fc Mon Sep 17 00:00:00 2001 From: siamease Date: Sun, 25 Oct 2020 00:38:05 +0900 Subject: [PATCH] fix --- src/detections/sysmon.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/detections/sysmon.rs b/src/detections/sysmon.rs index 81ffd25e..7ce01b93 100644 --- a/src/detections/sysmon.rs +++ b/src/detections/sysmon.rs @@ -36,7 +36,7 @@ impl Sysmon { println!("Date : {} (UTC)", _date); } println!("Log : Sysmon"); - let minlength = 100; // TBD + let minlength = 1000; let mut f = File::open("whitelist.txt").expect("file not found"); let mut contents = String::new(); f.read_to_string(&mut contents); @@ -46,7 +46,6 @@ impl Sysmon { } else { check_command(1, _command_line, minlength, 0, "", "", rdr); } - println!(""); } } @@ -69,7 +68,6 @@ impl Sysmon { if let Some(_command_line) = event_data.get("ImageLoaded") { println!("Command : {}", _command_line); } - println!(""); } } }