sbidy / MacroMilter

This python based milter (mail-filter) checks an incoming mail for suspicious VBA macro code in MS 20xx Office attachments (doc, xls, ppt ...).
MIT License
37 stars 14 forks source link

enhancement for the logfile #58

Open cyberbix opened 5 years ago

cyberbix commented 5 years ago

Wouldn´t it be nice to have the Filename together with the Macrohash in the logfile instead of the hash only ?

Before: INFO: [4] The macro hash is: 3fa93227b810d3359f258442

After: INFO: [4] The macro hash of file Mydocument.doc is 3fa93227b810d3359f258442

robert-scheck commented 5 years ago

Please quote the filename to also cover filenames with spaces properly.