Cara Disable cPHulk Brute Force Protection Via SSH

hari ini judul artikelnya adalah Cara Disable cPHulk Brute Force Protection Via SSH, judul ini sengaja diketik karena tiba-tiba se-kantor tidak bisa melakukan akses ke WHM/cPanel Server karena ulah si kawan yang beberapa kali mencoba akses ke websitenya melalui cpanel dan password yang dimasukan ternyata salah.

fiuh.. tapi karena saat ini bulan puasa jadi mari kita maklumi saja (lol)
sekarang mari kita diskusikan bagaimana caranya membuka proteksi dari cPHulk Brute Force Protection via SSH.

Cara Disable cPHulk Brute Force Protection Via SSH

cPHulk Brute Force Protection dalam bahasa jawa diartikan sebagai berikut
cPHulk Brute Force Protection prevents malicious forces from trying to access your server’s services by guessing the login password for that service.

kalau dalam bahasa indonesia-nya saya kurang paham
Om saya yang tinggal di amerika mengajarkan beberapa cara untuk membuka cPHulk Brute Force Protection

    1. Cara pertama yaitu

login via ssh lalu disable cphulkd dengan menggunakan command

 /usr/local/cpanel/etc/init/stopcphulkd
/usr/local/cpanel/bin/cphulk_pam_ctl --disable

setelah disabled brute force protection lalu kita sudah bisa masuk login ke WHM/cPanel kemudian coba cek cphulk settings.

    1. kemudian Flush IP addresses yang terblok cPHulk melalui menu:
WHM -> Security -> Security Center -> cPHulk Brute Force Protection -> Flush DB
    1. setelah selesai lalu kita kembali ke SSH dan restart cphulkd protection atau enable kembali cphulkd dengan menggunakan command
root@server [~]# /usr/local/cpanel/etc/init/startcphulkd

untuk cara ke dua adalah melalui mysql command

root@server [~]# mysql -u user -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is id
Server version: version
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input
statement.
mysql> connect cphulkd
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Connection id: id
Current database: cphulkd
mysql> select IP, BRUTETIME from brutes order by BRUTETIME;
Empty set (0.00 sec)
mysql> select IP, LOGINTIME FROM logins order by LOGINTIME;
+———————————+———————+
| IP | LOGINTIME |
+———————————+———————+
| 110.232.81 .2 | 2012-07-26 15:23:10 |
+———————————+———————+
32 rows in set (0.00 sec)
mysql> delete from brutes;
Query OK, 0 rows affected (0.00 sec)
mysql> delete from logins;
Query OK, 32 rows affected (0.00 sec)
mysql> quit;
root@server [~]#

Done..

Baca juga:  Cara Instalasi SSL Pada WHM cPanel

Semoga artikel Cara Disable cPHulk Brute Force Protection Via SSH ini dapat membantu anda 🙂

2 Comments

Write a Comment

Your email address will not be published.

4 × 1 =

%d bloggers like this: