-
Notifications
You must be signed in to change notification settings - Fork 31
/
xss-tool-input.schema.json
74 lines (74 loc) · 1.81 KB
/
xss-tool-input.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {},
"properties": {
"cookies": {
"items": {
"description": "A JSON object representing the cookie.",
"properties": {
"name": {
"description": "the name of the cookie",
"type": "string"
},
"value": {
"description": "the value of the cookie",
"type": "string"
}
}
},
"type": "array"
},
"do_reflect": {
"default": true,
"description": "Specifies whether reflection context checking should be performed.",
"type": "boolean"
},
"do_xss": {
"default": true,
"description": "Specifies whether XSS active scanning should be performed.",
"type": "boolean"
},
"headers": {
"items": {
"description": "A JSON object representing the header.",
"properties": {
"name": {
"description": "the name of the header",
"type": "string"
},
"value": {
"description": "the value of the header",
"type": "string"
}
}
},
"type": "array"
},
"json_version": {
"default": 1,
"description": "The version of input JSON for the tool",
"type": "number"
},
"request_body": {
"description": "For POST requests, a form-encoded string to serve as the request body.",
"type": "string"
},
"request_type": {
"default": "GET",
"description": "The type of HTTP request to make.",
"enum": [
"GET",
"POST"
],
"type": "string"
},
"request_url": {
"description": "The URL to test",
"type": "string"
}
},
"required": [
"request_url"
],
"type": "object"
}