Custom CSF Regex Rules for magento?

Post Reply
regexrules
Junior Member
Posts: 1
Joined: 08 Jul 2021, 14:33

Custom CSF Regex Rules for magento?

Post 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
Post Reply