This commit is contained in:
siamease
2020-10-25 00:38:05 +09:00
parent 942a7fad3a
commit bc031202ef

View File

@@ -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!("");
}
}
}