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

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

How to create KVM template

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

How to restore all data from old drive to a new drive on a cpanel server

You basically ssh to server as root and look for your old/original drive via command fdisk -l...

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

How do I assign additional IP addresses in RedHat/CentOS?

If you are using CPanel, you should add the IP addresses through WHM.  Do not follow...

How to install lm_sensors on XenServer

This is tested on Xenserver 6, may also work on other similar OS 1. ssh to server as root 2....