#!/bin/sh

FILESDIR=/opt/nepenthes/viri

BDCLOG=/tmp/bdc.log
CLAMLOG=/tmp/clam.log

STATS=/tmp/stats.log


echo Number of files $( ls $FILESDIR | wc ) > $STATS

bdc --update

bdc --all --arc --nor $FILESDIR > $BDCLOG

echo $(bdc --update) >> $STATS

cat $BDCLOG | grep infected | awk ' { print $3 } ' | sort | uniq -c | sort -rn >> $STATS

tail -n 14 $BDCLOG >> $STATS



echo $(clamscan --version) >> $STATS
clamscan $FILESDIR > $CLAMLOG
cat $CLAMLOG | grep FOUND | awk ' { print $2 } ' | sort | uniq -c | sort -rn >> $STATS

tail -n 9 $CLAMLOG >> $STATS
 
stats/clamav_vs_bitdefender/script.txt · Last modified: 2006/02/17 14:01
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki