zeek/scripts/policy/frameworks/files/hash-all-files.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

10 lines
197 B
Plaintext

##! Perform MD5 and SHA1 hashing on all files.
@load base/files/hash
event file_new(f: fa_file)
{
Files::add_analyzer(f, Files::ANALYZER_MD5);
Files::add_analyzer(f, Files::ANALYZER_SHA1);
}