plereader.blogg.se

Comodo modsecurity cpanel
Comodo modsecurity cpanel













comodo modsecurity cpanel

Sed -i 's!#UseDNS yes!UseDNS no!g ' /etc/ssh/sshd_configĬheck= $(ss -tulpn |grep ssh | awk ' ' /etc/grub2.Comodo Web Application Firewall Software Version 2.0Ĭomodo Security Solutions 1255 Broad Street Clifton, NJ 07013Ĭomodo Web Application Firewall - Admin Guide Table of Contents 1. & cp -rpf /etc/hosts /etc/hosts- `date +%d-%m-%y-%T `Įcho -e "\e[1 36 40m tweaking /etc/hosts \e[0m "Įcho -e "order bind,hosts\nmulti on " > /etc/nfĮcho -e "\e[1 36 40m Installing cmc \e[0m " It Prevents IP spoofing and dns poisoning scripts/check_cpanel_rpms -fix -targets=clamav > /dev/null 2>&1 # This command is the one responsible for installing the ClamAV RPM on your server: 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 " Sed -i 's/quarantine_hits="0"/quarantine_hits="1"/g ' /usr/local/maldetect/conf.maldet

comodo modsecurity cpanel

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 " 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

comodo modsecurity cpanel

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 "

comodo modsecurity cpanel

# 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