fir3net
PPS-Firenetbanner-780.5x190-30-03-17

BASH - F-Prot Scripts

Here are 2 scripts created for the AV software F-Prot,

FProt_scan  - Runs a scan on your system, you will need to enter you own path under the variable $path
FProt_mail - Emails you if a virus has bee found on your system, you will need to add your own email address to $email

After adding the scripts to crontab. Contrab should look like this,

0 3 * * * /usr/local/f-prot/tools/check-updates.pl -cron -quiet
0 4 * * * /home/localuser/scripts/fprot_scan.sh /dev/null 2>&1
0 5 * * * /home/localuser/scripts/fprot_mail.sh /dev/null 2>&1

About the Author

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001