Files
baremetal-basics/cav
T
2026-04-27 23:04:12 +00:00

17 lines
445 B
Bash

#!/bin/bash
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