primamopa.blogg.se

Comodo modsecurity cpanel
Comodo modsecurity cpanel











scripts/update_local_rpm_versions -edit target_settings.clamav installed > /dev/null 2>&1 # This command tells the system that we want ClamAV to be listed as installed by the local RPM system:Įcho -e "\e[1 36 40m INSTALLING CLAMSCAN \e[0m "

comodo modsecurity cpanel

Sed -i 's/quarantine_hits="0"/quarantine_hits="1"/g ' /usr/local/maldetect/conf.maldet Sed -i 's/LF_SCRIPT_ALERT = "0"/LF_SCRIPT_ALERT = "1"/ ' /etc/csf/csf.confĮcho -e "\e[1 36 40m restarting csf \e[0m "Įcho -e " \e[1 36 40m Installing maldet scanner \e[0m "Įcho -e "\e[1 36 40m Enabling auto quarantine in maldet configuration \e[0m "

comodo modsecurity cpanel

Sed -i 's/SMTP_BLOCK = "0"/SMTP_BLOCK = "1"/g ' /etc/csf/csf.conf Sed -i 's/RESTRICT_SYSLOG = "0"/ RESTRICT_SYSLOG = "3"/g ' /etc/csf/csf.conf Sed -i 's/PT_USERPROC = "10"/PT_USERPROC = "0"/g ' /etc/csf/csf.conf Sed -i 's/TESTING = "1"/TESTING = "0"/g ' /etc/csf/csf.conf & cp -rpf /etc/csf /etc/csf- `date +%d-%m-%y-%T `Įcho -e "\e[1 36 40m Modifying parameters in CSF configuration \e[0m " # Make sure only root can run this scriptĮcho -e "\e[93m This script must be run as root \e[0m "Įcho -e "\e[1 36 40m Server Hardening initiated \e[0m "Įcho -e "\e[1 36 40m Installing CSF.\e[0m " #Server hardening script for cPanel servers













Comodo modsecurity cpanel