Viruscount - AMaViS Analysis and Display
Downloadable Software
The first is a python mail log analyzer which counts the messages left by AMaViS - (A Mail Virus Scanner) and stores monthly totals in a MySql database. It also maintains a web accessible directory containing the current month's virus emails, erasing all older mail from the AMaViS's quarantine directory.
The second script is a php display page which reads the totals from the database and nicely displays the totals. It also reads and displays the headers from the directory of recent virus mails. The display is paginated to handle large volumes.
Year is determined from the date of the log file. Month is determined from the contents.
Project
AMaViSName
ViruscountDescription
Viruscount is an AMaViS analysis and display package. It is composed of two short scripts viruscount.py and index.php.The first is a python mail log analyzer which counts the messages left by AMaViS - (A Mail Virus Scanner) and stores monthly totals in a MySql database. It also maintains a web accessible directory containing the current month's virus emails, erasing all older mail from the AMaViS's quarantine directory.
The second script is a php display page which reads the totals from the database and nicely displays the totals. It also reads and displays the headers from the directory of recent virus mails. The display is paginated to handle large volumes.
Year is determined from the date of the log file. Month is determined from the contents.
Features
- Populates MySQL database with virus statistics based on mail logs
- Web display of statistics with links to recently received virus emails.
- Pagination
Requirements
- MySql
- Python w/MySQLdb
- Php
- /tmp must be writable by viruscount.py
- MySQLdb python module
- gunzip binary in the path