You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: regex.custom.pm
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -133,18 +133,34 @@ sub custom_line {
133
133
# if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+) -.*[GET|POST].*(\/wp-admin|wp-admins.php|administrator\/|login.php|backend|admin|\/xmlrpc.php|\/wp-(app|cron|login|register|mail).php|wp-.*.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|wlwmanifest.xml|wp-cl-plugin.php|[a-z0-9_-]+-sitemap([0-9]+)?.xml)/)) {
134
134
# return ("WordPress Catch all Attack",$1,"wordpress","7","80,443","1");
135
135
# }
136
+
136
137
# /var/log/virtualmin/*_access_log
137
138
# WordPress Non Existent plugin locations
138
139
# (Default: 2 errors bans for 24 hours)
139
140
if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+) -.*[GET|POST|HEAD] (\/wp-content\/plugins\/).*(\s404\s)/)) {
0 commit comments