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

Byla tato odpověď nápomocná?

 Tisknout tento článek

Také čtěte

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

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 reboot a unix server via telnet?

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

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

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