Skip to content

Commit

Permalink
fix: ignore false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Dec 3, 2024
1 parent 1328db1 commit 3dc44c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/timeline/extract_base64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ fn create_base64_extracted_record(
.replace(b64.base64_str().as_str(), "<Base64String>")
.to_string();
let no_pad_original = BASE64_PAD.replace_all(original.as_str(), "<Base64String>");
if no_pad_original.contains("-<Base64String>") {
continue;
}
let row = vec![
evtx.ts.to_string(),
evtx.computer.clone(),
Expand Down

0 comments on commit 3dc44c7

Please sign in to comment.