Skip to content

Commit

Permalink
Add hash to sample type tasks (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
yankovs authored Jul 24, 2024
1 parent f68904c commit cdf0551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karton/config_extractor/config_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def process(self, task: Task) -> None:
headers = task.headers

if headers["type"] == "sample":
self.log.info("Analyzing original binary")
self.log.info(f"Analyzing original binary: {sample.sha256}")
self.analyze_sample(task, sample)
elif headers["type"] == "analysis":
sample_hash = hashlib.sha256(sample.content or b"").hexdigest()
Expand Down

0 comments on commit cdf0551

Please sign in to comment.