This repository has been archived on 2024-07-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
etckeeper/fail2ban/filter.d/php-cgi.conf
T
2022-07-06 13:20:54 +02:00

24 lines
521 B
Plaintext

##########
##
## jail for php-cgi attacks
##
##
[Definition]
# Option: failregex
# Notes.: regex to match this kind of request:
#
# 89.136.120.205 - - [10/Dec/2013:08:23:32 +0100] "GET /cgi-bin/php HTTP/1.1" 403 213 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
#
failregex = ^<HOST> -.*"(GET|POST).*/cgi-bin/php.*"
^<HOST> -.*"(GET|POST).*//.63.67.69.2d.62.69.6e/.*"
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex =