small format fix

This commit is contained in:
Tanaka Zakku
2021-12-23 17:52:19 +09:00
parent b4a66a8e6f
commit 8f9ff165ec
2 changed files with 3 additions and 2 deletions

View File

@@ -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") {

View File

@@ -38,10 +38,10 @@ impl Timeline {
let mut sammsges: Vec<String> = 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());
// 集計件数でソート