Search found 2 matches

by moriso12
20 Oct 2022, 20:05
Forum: General Discussion (csf)
Topic: Custom REGEX rules for CSF.
Replies: 93
Views: 2019601

Re: Custom REGEX rules for CSF.

For /phpmyadmin Debian 11 CUSTOM1_LOG = "/var/log/apache2/access.log" if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:GET|POST) \/phpmyadmin\/.*" /)) { return ("phpmyadmin Login Attack",$1,"phpmyadmin","5","80,443",&quo...
by moriso12
19 Oct 2022, 16:22
Forum: General Discussion (csf)
Topic: regex.custom
Replies: 0
Views: 865

regex.custom

Hello all I needs support. I am trying to protect the login to my application using regex.custom.pm I added to /etc/csf/csf.conf > CUSTOM1_LOG = "/var/log/apache2/my_log log code my.domain.com:443 1.1.141.25 - - [20/Oct/2022:10:23:43 +0200] "POST /api/v1/hybrid/session/start HTTP/1.1"...