Naiupdt, a Perl script to automaticly update your NAI VirusScan DAT/Engine files * What it is This script will check the version of the locally installed NAI DAT/Engine file. Then find the version on the NAI FTP site. If there is a newer version available, it will retrieve it and install it. A lot of checks are done to make very sure you will always have a working DAT file. Including a test with the Eicar test virus. If the final scan test fails, the working files from before the backup are restored. The script has adjustbale logging (using the $verbose variable) for use in CRON. The default verbosity is set to 5 to check your installation. Please change to a more suitable value after testing. * Installation - Unpack the archive somewhere ( /usr/src for example) and copy the naiupdt.pl file to the NAI VS directory (default is /usr/local/uvscan) - Make sure you put the correct path to Perl in the first line of the script - Check that the location of the other required binaries is OK - Do a "chmod u+x naiupdt.pl" in the directory where the file is located - Do a test run, you can set $verbose = 2 to get informed if an update is performed after your testing is finished Author: Bas Rijniersce Contributors: Joost van Baal - Many improvements Guillaume Beaudoin - MD5 checksumming and logging improvements Version: 0.5 Released: March 2004 URL: http://www.brijn.nu/Programming Licence: GPL