remove rdr
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
use crate::detections::utils::check_command;
|
||||
use crate::models::event;
|
||||
use std::collections::HashMap;
|
||||
//use std::fs::File;
|
||||
//use std::io::prelude::*;
|
||||
|
||||
pub struct Sysmon {
|
||||
checkunsigned: u64,
|
||||
@@ -37,15 +35,9 @@ impl Sysmon {
|
||||
}
|
||||
println!("Log : Sysmon");
|
||||
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);
|
||||
//let rdr = csv::Reader::from_reader(contents.as_bytes());
|
||||
if let Some(_creater) = event_data.get("ParentImage") {
|
||||
//check_command(1, _command_line, minlength, 0, "", _creater, rdr);
|
||||
check_command(1, _command_line, minlength, 0, "", _creater);
|
||||
} else {
|
||||
//check_command(1, _command_line, minlength, 0, "", "", rdr);
|
||||
check_command(1, _command_line, minlength, 0, "", "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user