zeek/scripts/policy/frameworks/files/hash-all-files.bro

7 lines
172 B
Text

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