From 8f9ff165ec9b3dd1a53bfe9cb98f867e438fbed9 Mon Sep 17 00:00:00 2001 From: Tanaka Zakku <71482215+YamatoSecurity@users.noreply.github.com> Date: Thu, 23 Dec 2021 17:52:19 +0900 Subject: [PATCH] small format fix --- src/main.rs | 1 + src/timeline/timeline.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7bb671cb..1d932468 100644 --- a/src/main.rs +++ b/src/main.rs @@ -88,6 +88,7 @@ impl App { } if *STATISTICS_FLAG { println!("Generating Event ID Statistics"); + println!(""); } if let Some(filepath) = configs::CONFIG.read().unwrap().args.value_of("filepath") { if !filepath.ends_with(".evtx") { diff --git a/src/timeline/timeline.rs b/src/timeline/timeline.rs index 1c3f7297..5b0a9c57 100644 --- a/src/timeline/timeline.rs +++ b/src/timeline/timeline.rs @@ -38,10 +38,10 @@ impl Timeline { let mut sammsges: Vec = Vec::new(); sammsges.push("---------------------------------------".to_string()); sammsges.push(format!("Evtx File Path: {}", self.stats.filepath)); - sammsges.push(format!("Total Event Records : {}\n", self.stats.total)); + sammsges.push(format!("Total Event Records: {}\n", self.stats.total)); sammsges.push(format!("First Timestamp: {}", self.stats.start_time)); sammsges.push(format!("Last Timestamp: {}\n", self.stats.end_time)); - sammsges.push("count(Percent)\tID\tEvent\t\tTimeline".to_string()); + sammsges.push("Count (Percent)\tID\tEvent\t\tTimeline".to_string()); sammsges.push("--------------- ------- --------------- -------".to_string()); // 集計件数でソート