Fix WHM/cPanel cPHulk Brute Force Protection Lock Out Via SSH

ssh to the server and login as root then type

 

mkdir /home/cphulk
chmod 777 /home/cphulk
/usr/local/cpanel/bin/cphulk_pam_ctl --disable
/usr/local/cpanel/etc/init/stopcphulkd
mysql
use cphulkd;
BACKUP TABLE `brutes` TO '/home/cphulk';
select IP, BRUTETIME from brutes order by BRUTETIME;
select IP, LOGINTIME FROM logins order by LOGINTIME;
delete from brutes;
delete from logins;
quit
chmod 755 /home/cphulk

Ha estat útil la resposta?

 Imprimeix aquest Article

Llegir també

How to change hostname of a server

Simply ssh as root and type hostname s1.boxintense.com Then to make it permanent, modify this...

How to compile kernel with RocketRaid 2640 RAID Cards

1. yum install kernel update you want2. wget...

Hints on Creating Windows KVM Templates

Templating Windows is a fairly easy process for KVM. All versions of windows can be resized by...

How to reboot a unix server via telnet?

Using a telnet program like http://www.telnet98.com/ or SSH Client like putty (for windows),...

Hypervm Xen Windows VPS Network not showing 1Gbps

If you're running HyperVM Xen VPS and your Windows vm somehow not showing 1Gbps port, only...