Search found 1 match

by dnlx
17 Feb 2024, 20:56
Forum: General Discussion (csf)
Topic: Custom REGEX rules for CSF.
Replies: 93
Views: 2029826

Re: Custom REGEX rules for CSF.

Hello, I'm new on this forum, I'm using this custom regex to block failed logins to wordpress: # Block IP if more than 10 requests in 3600 for wp-login if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:GET|POST) \/wp-login\.php.*" /)) { return ("WP Login Attack"...