Skip to content

Commit

Permalink
fix: correct comparison in evtxls --to timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
phantinuss committed Oct 12, 2023
1 parent e10b2e7 commit d935745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/evtxls/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl EvtxLs {
}

if let Some(not_after) = self.cli.not_after.as_ref() {
if &record.timestamp < not_after {
if &record.timestamp > not_after {
continue;
}
}
Expand Down

0 comments on commit d935745

Please sign in to comment.