WAF参数中增加“请求来源”

This commit is contained in:
刘祥超
2023-12-24 10:03:24 +08:00
parent 4f24b7f39c
commit 9bc2b1a651
4 changed files with 92 additions and 2 deletions

View File

@@ -163,7 +163,15 @@ var AllCheckpoints = []*CheckpointDefinition{
Priority: 100,
},
{
Name: "请求来源URL",
Name: "请求来源",
Prefix: "refererOrigin",
Description: "请求报头中的Referer或Origin值",
HasParams: false,
Instance: new(RequestRefererOriginCheckpoint),
Priority: 100,
},
{
Name: "请求来源Referer",
Prefix: "referer",
Description: "请求Header中的Referer值",
HasParams: false,