WithSecureLabs / chainsaw

Rapidly Search and Hunt through Windows Forensic Artefacts
GNU General Public License v3.0
2.85k stars 260 forks source link

Add timestamp format to help output #108

Closed m-terlinde closed 1 year ago

m-terlinde commented 2 years ago

Hey guys,

thanks for the new major release!

The output of .\chainsaw.exe hunt -h sadly does not provide the correct syntax for the timestamps for the --from and --to option.

I just found the correct format on the GitHub site in the last example.

Could you please add the format to the help output? I'm not familiar with Rust. Is it as easy as changing https://github.com/WithSecureLabs/chainsaw/blob/master/src/main.rs#L122?

Cheers, Matthias

alexkornitzer commented 2 years ago

What would you like here? An example format in the help output?

m-terlinde commented 1 year ago

Yes, a simple "YYYY-MM-dd HH:mm" or so would be awesome :)

Giving a concrete example date could be a bit ambiguous, depending on the region.