cPHulk Brute Force Detection
Posted by Clayton | Posted in Linux, Security, SSH, Tutorial | Posted on 07-28-2010
1
Ever run into issues with typing in your root password, or forgot what you set it to, then got locked out of WHM? Well, here’s a quick and easy way to get your access back when receiving this error message.
This account is currently locked out because a brute force attempt was detected. Please wait 10 minutes and try again. Attempting to login again will only increase this delay. If you frequently experience this problem, we recommend having your username changed to something less generic.
Run the following as root in SSH.
mysql cphulkd mysql> delete from brutes; mysql> delete from logins;
Rather than using “delete from tablename” to empty the entire table, using the “truncate tablename” command is slightly better in that it’s faster, resets automatically incrementing values for fields, and works by essentially deleting the table and then recreating it anew.