Skip to content

Commit

Permalink
Merge pull request #1452 from Bidaya0/fea/new-strategy-rules
Browse files Browse the repository at this point in the history
feat: new strategy rules .
  • Loading branch information
Bidaya0 committed May 16, 2023
2 parents 61dc8a6 + 10dc35c commit 3b5364f
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 57 deletions.
11 changes: 0 additions & 11 deletions static/data/go_hooktype.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,17 +428,6 @@
"type": 3,
"value": "xxe-filter"
},
{
"created_by": 1,
"enable": 1,
"language": 4,
"name": "\u6587\u4ef6\u5199\u5165",
"name_en": null,
"name_zh": "\u6587\u4ef6\u5199\u5165",
"system_type": 1,
"type": 4,
"value": "\u6587\u4ef6\u5199\u5165"
},
{
"created_by": 1,
"enable": 1,
Expand Down
24 changes: 22 additions & 2 deletions static/data/java_full_policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3908,14 +3908,14 @@
"enable": 1,
"ignore_blacklist": false,
"ignore_internal": false,
"inherit": "true",
"inherit": "all",
"language": 1,
"source": "P1",
"stack_blacklist": [],
"system_type": 1,
"tags": [],
"target": "",
"track": "false",
"track": "true",
"type": 4,
"untags": [],
"value": "javax.servlet.http.Cookie.setSecure(boolean)"
Expand Down Expand Up @@ -6770,6 +6770,26 @@
"untags": [],
"value": "jakarta.servlet.http.HttpServletRequest.getHeaders(java.lang.String)"
},
{
"command": "",
"created_by": 1,
"enable": 1,
"ignore_blacklist": false,
"ignore_internal": false,
"inherit": "true",
"language": 1,
"source": "P1",
"stack_blacklist": [],
"system_type": 1,
"tags": [
"cross-site"
],
"target": "R",
"track": "false",
"type": 2,
"untags": [],
"value": "jakarta.servlet.http.HttpServletRequest.getParameter(java.lang.String)"
},
{
"command": "",
"created_by": 1,
Expand Down
22 changes: 0 additions & 22 deletions static/data/java_hooktype.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,6 @@
"type": 1,
"value": "Enumeration"
},
{
"created_by": 1,
"enable": 1,
"language": 1,
"name": "\u6587\u4ef6\u5199\u5165",
"name_en": null,
"name_zh": "\u6587\u4ef6\u5199\u5165",
"system_type": 1,
"type": 4,
"value": "FileWrite"
},
{
"created_by": 1,
"enable": 1,
Expand Down Expand Up @@ -1044,17 +1033,6 @@
"type": 3,
"value": "xxe-filter"
},
{
"created_by": 1,
"enable": 1,
"language": 1,
"name": "\u6587\u4ef6\u5199\u5165",
"name_en": null,
"name_zh": "\u6587\u4ef6\u5199\u5165",
"system_type": 1,
"type": 4,
"value": "\u6587\u4ef6\u5199\u5165"
},
{
"created_by": 1,
"enable": 1,
Expand Down
15 changes: 15 additions & 0 deletions static/data/java_policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4665,6 +4665,21 @@
"untags": [],
"value": "jakarta.servlet.http.HttpServletRequest.getHeaders(java.lang.String)"
},
{
"command": "",
"ignore_blacklist": false,
"ignore_internal": false,
"inherit": "true",
"source": "P1",
"stack_blacklist": [],
"tags": [
"cross-site"
],
"target": "R",
"track": "false",
"untags": [],
"value": "jakarta.servlet.http.HttpServletRequest.getParameter(java.lang.String)"
},
{
"command": "",
"ignore_blacklist": false,
Expand Down
11 changes: 0 additions & 11 deletions static/data/php_hooktype.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,17 +428,6 @@
"type": 3,
"value": "xxe-filter"
},
{
"created_by": 1,
"enable": 1,
"language": 3,
"name": "\u6587\u4ef6\u5199\u5165",
"name_en": null,
"name_zh": "\u6587\u4ef6\u5199\u5165",
"system_type": 1,
"type": 4,
"value": "\u6587\u4ef6\u5199\u5165"
},
{
"created_by": 1,
"enable": 1,
Expand Down
11 changes: 0 additions & 11 deletions static/data/python_hooktype.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,17 +571,6 @@
"type": 3,
"value": "xxe-filter"
},
{
"created_by": 1,
"enable": 1,
"language": 2,
"name": "\u6587\u4ef6\u5199\u5165",
"name_en": null,
"name_zh": "\u6587\u4ef6\u5199\u5165",
"system_type": 1,
"type": 4,
"value": "\u6587\u4ef6\u5199\u5165"
},
{
"created_by": 1,
"enable": 1,
Expand Down

0 comments on commit 3b5364f

Please sign in to comment.