Python script to monitor a file for changes and then mail the report with the file attached.

Posted by relst on Dec 15, 2012 7:10 PM EDT; By Remy van Elst
Mail this story
Print this story

This is a script which checks a file's md5 hash, compares it to a previous (or given) hash and mails a report with the option of attaching the file with the email. I wrote it because I use AIDE on some systems, and I let it auto update the database. This script runs via cron before and after the AIDE run, so I have an archive of databases. But it can be used for all kind of files, not just for the AIDE database.

Full Story

» Read more about:

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.