Update: [Thu Jan 16 00:26:08 UTC 2025]

This commit is contained in:
github-actions[bot]
2025-01-16 00:26:08 +00:00
parent dc1668f287
commit 67c6364ac1
39 changed files with 2487 additions and 2487 deletions

View File

@@ -2,10 +2,6 @@
location / {
set $attack_detected 0;
if ($request_uri ~* "[a-z]:x5cinetpubb") {
set $attack_detected 1;
}
if ($request_uri ~* "(?:Microsoft OLE DB Provider for SQL Server(?:</font>.{1,20}?error '800(?:04005|40e31)'.{1,40}?Timeout expired| (0x80040e31)<br>Timeout expired<br>)|<h1>internal server error</h1>.*?<h2>part of the server has crashed or it has a configuration error.</h2>|cannot connect to the server: timed out)") {
set $attack_detected 1;
}
@@ -18,6 +14,10 @@ location / {
set $attack_detected 1;
}
if ($request_uri ~* "[a-z]:x5cinetpubb") {
set $attack_detected 1;
}
if ($attack_detected = 1) {
return 403;
}