diff --git a/credits.txt b/credits.txt new file mode 100644 index 00000000..553b4928 --- /dev/null +++ b/credits.txt @@ -0,0 +1 @@ +Zach Mathis (田中ザック)Yamato Security Yea! Project Leader \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 8eec1241..975be3f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,6 +17,10 @@ fn main() -> Result<(), DeError> { detect_files(evtx_files); } + if configs::singleton().args.is_present("credits") { + print_credits(); + } + after_fact(); Ok(()) @@ -53,6 +57,13 @@ fn collect_evtxfiles(dirpath: &str) -> Vec { return ret; } +fn print_credits() { + match fs::read_to_string("./credits.txt") { + Ok(contents) => println!("{}", contents), + Err(err) => println!("{}", err), + } +} + fn detect_files(evtx_files: Vec) { let mut detection = detection::Detection::new(); &detection.start(evtx_files);