#!/bin/bash

## CLAMAV SCRIPT
## 20260507-115124

rm -rf cav.log
sudo clear
echo 'ClamAV'
echo 'Updating...'
sudo apt install clamav
sudo systemctl stop clamav-freshclam.service
sudo freshclam
sudo systemctl start clamav-freshclam.service
echo 'Scanning...'
clamscan -raz --log=cav.log --bell --cross-fs --bytecode --scan-mail --phishing-sigs --heuristic-alerts --phishing-scan-urls #--detect-pua #--detect-structured #-v
grep --color ' FOUND ' cav.log
echo 'Done.'
read -n1
clear
