Files
baremetal-basics/cav
T

17 lines
445 B
Bash
Raw Normal View History

2026-04-27 21:48:14 +00:00
#!/bin/bash
2026-04-27 23:04:12 +00:00
rm -rf cav.log
2026-04-27 21:48:14 +00:00
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
2026-04-27 23:04:12 +00:00
grep --color ' FOUND ' cav.log
2026-04-27 21:48:14 +00:00
echo 'Done.'
read -n1
clear