From fa1b971bf3d43c4359e341dec006367d52cdc731 Mon Sep 17 00:00:00 2001 From: Yamato Security <71482215+YamatoSecurity@users.noreply.github.com> Date: Fri, 7 Oct 2022 15:43:31 +0900 Subject: [PATCH] change slight wording --- src/main.rs | 2 +- src/timeline/timelines.rs | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7de2a220..f1213028 100644 --- a/src/main.rs +++ b/src/main.rs @@ -257,7 +257,7 @@ impl App { write_color_buffer( &BufferWriter::stdout(ColorChoice::Always), None, - "Generating Logons Summary", + "Generating Logon Summary", true, ) .ok(); diff --git a/src/timeline/timelines.rs b/src/timeline/timelines.rs index 3532ce50..dcf24770 100644 --- a/src/timeline/timelines.rs +++ b/src/timeline/timelines.rs @@ -48,7 +48,7 @@ impl Timeline { } // 出力メッセージ作成 let mut sammsges: Vec = Vec::new(); - let total_event_record = format!("\nTotal Event Records: {}\n", self.stats.total); + let total_event_record = format!("\n\nTotal Event Records: {}\n", self.stats.total); if CONFIG.read().unwrap().args.filepath.is_some() { sammsges.push(format!("Evtx File Path: {}", self.stats.filepath)); sammsges.push(total_event_record); @@ -112,7 +112,7 @@ impl Timeline { } // 出力メッセージ作成 let mut sammsges: Vec = Vec::new(); - let total_event_record = format!("\nTotal Event Records: {}\n", self.stats.total); + let total_event_record = format!("\n\nTotal Event Records: {}\n", self.stats.total); if CONFIG.read().unwrap().args.filepath.is_some() { sammsges.push(format!("Evtx File Path: {}", self.stats.filepath)); sammsges.push(total_event_record); @@ -184,7 +184,7 @@ impl Timeline { /// ユーザ毎のログイン統計情報出力メッセージ生成 fn tm_loginstats_tb_set_msg(&self) { - println!("Logon Summary"); + println!(" Logon Summary:"); if self.stats.stats_login_list.is_empty() { let mut loginmsges: Vec = Vec::new(); loginmsges.push("-----------------------------------------".to_string()); @@ -235,7 +235,6 @@ impl Timeline { logins_stats_tb.add_row(record_data); } println!("{logins_stats_tb}"); - println!(); } } }