Skip to main content

cphulk invalid user cpanel

Comments

4 comments

  • cPRex Jurassic Moderator

    Hey there!  If you know the user's IP address you can use this guide to unblock them on the command line:

    https://support.cpanel.net/hc/en-us/articles/360063402573-How-to-unblock-an-IP-address-in-cPHulkd-from-the-command-line

    If you need to remove the block for an entire user, you can do that through WHM >> cPHulk Brute Force Detection under the Blacklist Management section and remove that user.

    1
  • ctorres

    how can I see from the console which are the blocked ips?

    0
  • ctorres

    you are right, use the following commands taking into account the public ip that is being blocked

    /usr/local/cpanel/scripts/hulk-unban-ip $ip # remove block
    /usr/local/cpanel/scripts/restartsrv_cphulkd # restart cphulk service


    can you tell me how to check the blocked ips from linux terminal?

    0
  • cPRex Jurassic Moderator

    The best way to get that information would be to use the WHM API, as this information is stored across both a database and configuration files on the server, so there isn't a way to read that info directly in a file.

    The various API commands for this work can be found here: https://api.docs.cpanel.net/openapi/whm/tag/Reporting/

    0

Please sign in to leave a comment.