Skip to main content

Location of cpHulk blacklist file

Comments

1 comment

  • cPanelMichael
    Hello, The whitelisted and blacklisted IPs are stored in "ip_lists" table of the cphulk database as VARBINARY entries - in order to "read" them via a select statement, you will need to use the INET6_NTOA() mysql function (only available in 5.6.3+). EX:
    mysql cphulkd; SELECT INET6_NTOA(`STARTADDRESS`), INET6_NTOA(`ENDADDRESS`), `COMMENT` from `ip_lists` WHERE TYPE = 1;" (fetches the whitelisted IPs)
    Thank you.
    0

Please sign in to leave a comment.