Page 1 of 1

Command Execute after block

Posted: 03 Jun 2019, 10:01
by zstergios
I am looking for a field to add a command like cphulk
https://documentation.cpanel.net/displa ... Protection

Is there any existing functionallity? Or can be added?

I need to post remote ip/country/reason/time etc to able to track and build my own blocklist

Re: Command Execute after block

Posted: 03 Jun 2019, 11:13
by zstergios
I found it BLOCK_REPORT

Re: Command Execute after block

Posted: 03 Jun 2019, 20:41
by zstergios
Does not work...
Can you help me please?

I tried the following value
/usr/local/bin/php /root/csf_block.php
/root/csf_block.php *

*file starts with http://prntscr.com/nx5uz0

permissions chmod +x /root/csf_block.php (755)


I have tested with command line as root and works,
Seems CSF does not trigger the file.

Also i searched in logs no mention found for "csf_block.php"