Skip to content

Commit

Permalink
Debug log calculated SHA1 hash
Browse files Browse the repository at this point in the history
Co-authored-by: Mira <[email protected]>
  • Loading branch information
neoformit and mira-miracoli authored Oct 15, 2024
1 parent 816fca9 commit a934a31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/walle.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ def scan_file_for_malware(
)
if sha1 is None:
sha1 = digest_file_sha1(chunksize, file)
logger.debug(f"File {file} calculated SHA-1: {sha1}")
if malware.sha1 == sha1:
matches.append(malware)
else:
Expand Down

0 comments on commit a934a31

Please sign in to comment.