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é

My raid-10 speed seems slow when test using hdparm

See http://tldp.org/HOWTO/Software-RAID-HOWTO-9.html To check out speed and performance of your...

How to create KVM template

Creating KVM Templates Overview From version 1.13.00 a script is supplied on...

How to update cpanel license key

First, ssh to your server as root and just type /usr/local/cpanel/cpkeyclt

How to set date/time permanently on Centos/RH/Fedora

First you need to ssh to the server and be root and then do these step by step: 1. Set the...

Why my drive is slow

First, check to make sure write cache is enabled. On Centos, you type hdparm -I /dev/sda Then...