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

這篇文章有幫助嗎?

 列印本文

Also Read

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

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 change cPanel password from command line?

cPanel password of a domain can be changed from command line using cPanel script. Given below are...

How to reboot a unix server via telnet?

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