Custom CSF Regex Rules for magento?
Posted: 08 Jul 2021, 14:36
Hello,
I have already bruto force protection for WordPress:
But how can I do this for Magento?
Magento 1: /index.php/admin/
Magento 2: /admin
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