How to export all failed IPs from cpHulk into txt/csv?

CrazySerb

Active Member
Apr 1, 2015
34
12
58
Canada
cPanel Access Level
Root Administrator
How do I export a list of all the IPs from History Reports section of cpHulk?

I've got tens of thousands of failed logins / IPs listed in there from all kinds of random countries (obvious brute force login attempts), and going page by page and copying those IPs would take, oh, I dunno, a month or two each time.

Is there a way to export this list into a TXT or CSV file so that I can just import them into the Firewall / cpHulk blacklist easily somehow?

Obviously a nice little checkbox column next to them all would be ideal, or at least paging options higher than 100 items per page (1,000 items per page would suffice, I'd think).

Any SSH commands I could use to export these lists somehow? As this list is useless to me right now since it takes so much manual time to do anything with it....
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,360
1,628
363
cPanel Access Level
Root Administrator
Hey there! This is something you should bring up to the CSF team at Technical Support as we don't create the plugin or interface on our end.

You can access the deny list at /etc/csf/csf.deny as that gives the IP address, service that blocked it, reason, country of origin, and time - using that flat file might be easier for your processing than the interface.