Page 1 of 1

Custom CSF Regex Rules for magento?

Posted: 08 Jul 2021, 14:36
by regexrules
Hello,

I have already bruto force protection for WordPress:

Code: Select all

# WP-LOGINS
if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:GET|POST) \/wp-login\.php.*" /)) {
return ("WP Login Attack",$1,"WPLOGIN","5","80,443","1");

But how can I do this for Magento?
Magento 1: /index.php/admin/
Magento 2: /admin