Files

22 lines
670 B
Plaintext
Raw Permalink Normal View History

2026-04-14 21:50:30 +00:00
#!/bin/bash
sudo clear
sudo rm -rf cav.log
echo 'Updating...'
sudo apt install ufw gufw clamav clamtk bleachbit fail2ban
echo 'Checking Firewall...'
sudo ufw status
sudo ufw allow ssh
sudo ufw reload
sudo ufw enable
sudo ufw status
sudo systemctl stop clamav-freshclam.service
sudo freshclam
sudo systemctl start clamav-freshclam.service
echo 'Cleaning...'
bleachbit --clean system.tmp system.cache system.trash deepscan.tmp deepscan.thumbs_db deepscan.ds_store
echo 'Scanning...'
clamscan --bell -raoiz --bytecode --scan-mail --phishing-sigs --cross-fs --log=cav.log --heuristic-alerts --phishing-scan-urls #--detect-pua #--detect-structured #-v
echo 'Done.'
read -n1