Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit 46a4ba6

Browse files
committed
Add or remove capture as appropriate
1 parent 27312fc commit 46a4ba6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rules/REQUEST-913-SCANNER-DETECTION.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ SecRule REQUEST_HEADERS_NAMES|REQUEST_HEADERS "@pmf scanners-headers.data" \
6060
"id:913110,\
6161
phase:2,\
6262
block,\
63+
capture,\
6364
t:none,t:lowercase,\
6465
msg:'Found request header associated with security scanner',\
6566
logdata:'Matched Data: %{TX.0} found within %{MATCHED_VAR_NAME}: %{MATCHED_VAR}',\
@@ -87,6 +88,7 @@ SecRule REQUEST_FILENAME|ARGS "@pmf scanners-urls.data" \
8788
"id:913120,\
8889
phase:2,\
8990
block,\
91+
capture,\
9092
t:none,t:lowercase,\
9193
msg:'Found request filename/argument associated with security scanner',\
9294
logdata:'Matched Data: %{TX.0} found within %{MATCHED_VAR_NAME}: %{MATCHED_VAR}',\

rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,6 @@ SecRule REQUEST_HEADERS:Range|REQUEST_HEADERS:Request-Range "@rx ^bytes=(?:(?:\d
11461146
"id:920200,\
11471147
phase:2,\
11481148
block,\
1149-
capture,\
11501149
t:none,\
11511150
msg:'Range: Too many fields (6 or more)',\
11521151
logdata:'%{matched_var}',\
@@ -1173,7 +1172,6 @@ SecRule REQUEST_BASENAME "@endsWith .pdf" \
11731172
"id:920201,\
11741173
phase:2,\
11751174
block,\
1176-
capture,\
11771175
t:none,\
11781176
msg:'Range: Too many fields for pdf request (63 or more)',\
11791177
logdata:'%{matched_var}',\
@@ -1371,7 +1369,6 @@ SecRule REQUEST_BASENAME "@endsWith .pdf" \
13711369
"id:920202,\
13721370
phase:2,\
13731371
block,\
1374-
capture,\
13751372
t:none,\
13761373
msg:'Range: Too many fields for pdf request (6 or more)',\
13771374
logdata:'%{matched_var}',\

rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|REQUEST_H
3838
"id:941100,\
3939
phase:2,\
4040
block,\
41+
capture,\
4142
t:none,t:utf8toUnicode,t:urlDecodeUni,t:htmlEntityDecode,t:jsDecode,t:cssDecode,t:removeNulls,\
4243
msg:'XSS Attack Detected via libinjection',\
4344
logdata:'Matched Data: XSS data found within %{MATCHED_VAR_NAME}: %{MATCHED_VAR}',\

0 commit comments

Comments
 (0)