Files
baremetal-basics/cav
T
2026-05-07 14:09:49 +00:00

20 lines
481 B
Bash

#!/bin/bash
## CLAMAV SCRIPT
## 20260507-134857
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