Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2001 08:44:48 +0200 (SAST)
From:      Justin Stanford <jus@security.za.net>
To:        Martijn Lina <martijn@medialab.lostboys.nl>
Cc:        freebsd-security@freebsd.org
Subject:   Re: Amavis + Linux scanners
Message-ID:  <Pine.BSF.4.21.0110090844300.20083-100000@athena.za.net>
In-Reply-To: <20011008184944.A20079@medialab.lostboys.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
While we're on this topic, does anyone know of any stats scripts or
programs for exiscan?

Thanks,
Justin

--
Justin Stanford
Internet/Network Security & Solutions Consultant
4D Digital Security
http://www.4dds.co.za
Cell: (082) 7402741
E-Mail: jus@security.za.net
PGP Key: http://www.security.za.net/jus-pgp-key.txt

On Mon, 8 Oct 2001, Martijn Lina wrote:

> Once upon a 05-10-2001, Rob Simmons hit keys in the following order:
> > 
> > Other than that, it works great.  Also, you can cron the following script
> > to update your virus identities automatically:
> 
> Or subscribe to their IDE notification and run this script from the mail
> aliases or your procmailrc:
> 
> #!/usr/bin/perl -w
> use strict;
> 
> my $gonna_die=0;
> my $mailto="root";
> my $mailoutput="|/usr/lib/sendmail -t $mailto";
> my $origmail;
> my $source;
> my $sav_dir="/usr/local/share/sav";
> 
> while (<>)
> {
>    $origmail.=$_;
>    if ( /(http:\/\/www\.sophos\.com\/downloads\/ide\/.*\.ide)/ && !$gonna_die)
>    {
>       $gonna_die = system("/usr/local/bin/wget -q -N -P $sav_dir $1");
>       $source = $1;
>    }
> }
> 
> if ($gonna_die)
> {
>    mail("Failed virus update", "Getting virus update from $source didn't work (errno $gonna_die).\nHere's the original update mail:\n\n$origmail");
>    die("Couldn't get virus update");
> } else
> {
>    mail("Virus update","Successfully updated Sophos with $source.\nHere's the original update mail:\n\n$origmail");
> }
> 
> exit;
> 
> sub mail
> {
>    my $sbj=shift;
>    my $msg=shift;
>    open(OUTPUT,$mailoutput);
>    print OUTPUT "From: Exterminator\n";
>    print OUTPUT "To: $mailto\n";
>    print OUTPUT "Subject: $sbj\n\n";
>    print OUTPUT $msg."\n";
>    close(OUTPUT);
> }
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110090844300.20083-100000>