zeek/scripts/policy/frameworks/files/hash-all-files.bro
Daniel Thayer 24da7ab839 Fix typos and formatting in the policy/frameworks docs
Also updated some tests related to these changes.
2013-10-21 01:23:08 -05:00

7 lines
174 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);
}