Upload files to "/"

This commit is contained in:
2026-04-14 21:50:30 +00:00
parent eb36d9cfe8
commit 1496e45509
19 changed files with 611 additions and 0 deletions

21
bsec Normal file
View File

@@ -0,0 +1,21 @@
#!/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