Upload files to "/"
This commit is contained in:
21
bsec
Normal file
21
bsec
Normal 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
|
||||
Reference in New Issue
Block a user