This repository was archived by the owner on May 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +33
-16
lines changed
util/regression-tests/tests/REQUEST-941-APPLICATION-ATTACK-XSS Expand file tree Collapse file tree 1 file changed +33
-16
lines changed Original file line number Diff line number Diff line change 55 name : " 941150.yaml"
66 description : " Tests to trigger, or not trigger 941150"
77 tests :
8+ -
9+ test_title : 941150-1
10+ desc : Disallowed HTML entities, ARGS
11+ stages :
812 -
9- test_title : 941150-1
10- desc : Disallowed HTML entities, ARGS
11- stages :
12- -
13- stage :
14- input :
15- dest_addr : 127.0.0.1
16- method : GET
17- port : 80
18- uri : ' /foo'
19- headers :
20- User-Agent : ModSecurity CRS 3 Tests
21- Host : localhost
22- data : ' 941150-1%3D%3Ca%20href%3D%22test%22'
23- output :
24- log_contains : id "941150"
13+ stage :
14+ input :
15+ dest_addr : 127.0.0.1
16+ method : GET
17+ port : 80
18+ uri : ' /foo'
19+ headers :
20+ User-Agent : ModSecurity CRS 3 Tests
21+ Host : localhost
22+ data : ' 941150-1%3D%3Ca%20href%3D%22test%22'
23+ output :
24+ log_contains : id "941150"
25+ -
26+ test_title : 941150-2
27+ desc : Disallowed HTML entities, ARGS
28+ stages :
29+ -
30+ stage :
31+ input :
32+ dest_addr : 127.0.0.1
33+ method : POST
34+ port : 80
35+ uri : ' /'
36+ headers :
37+ User-Agent : ModSecurity CRS 3 Tests
38+ Host : localhost
39+ data : " payload=<a href=# language=\" JScript.Encode\" onclick=\" #@~^CAAAAA==C^+.D`8#mgIAAA==^#~@\" >XSS</a>"
40+ output :
41+ log_contains : id "941150"
You can’t perform that action at this time.
0 commit comments