weaver_security_custom_rules_1.xml
1.64 KB
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
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<root>
<!--Special encoding path-->
<!--<dev-list>
<special>
<encoding>GBK</encoding>
<paths>
<path>/tdinfo/</path>
<path>/knowledgetool/</path>
</paths>
</special>
</dev-list>-->
<!--Do not check xss-->
<!--<excepts>
<url>/keygenerator/KeyGeneratorOperation.jsp</url>
</excepts>-->
<!--referer xss detect white list-->
<!--<ref-list>
<ref>app:/wmForWeb.swf</ref>
</ref-list>-->
<!--url cheat-->
<!--<url-params>
<param>url</param>
</url-params>-->
<!--valid host list-->
<!--<host-list>
<host>127.0.0.1:80</host>
<host>127.0.0.1</host>
<host>localhost:80</host>
<host>localhost</host>
</host-list>-->
<!--need filter word-->
<!--<xss-filter-list>
<word>src[\r\n]*=[\r\n]*['"](.*?)['"]</word>
</xss-filter-list>-->
<!--special rule-->
<!--<special-non>
<urls>
<url>
<value>/customerservice/data/ContactRecordOperation.jsp</value>
<params>
<param>
<value>remark</value>
<rules>
<rule></rule>
</rules>
</param>
</params>
</url>
</urls>
</special-non>-->
<!--regexp params-->
<!--<special-reg>
<urls>
<url>
<value>/customersystem/wfrelate/WFCreateQC.jsp</value>
<params>
<param>
<value>fieldsql\d+</value>
<rules>
<rule>##sqlkeyword1##</rule>
</rules>
</param>
</params>
</url>
</urls>
</special-reg>-->
<!--webservice allowed client ip-->
<!--<webservice-ip-list>
<ip>127.0.0.1</ip>
<ip>0:0:0:0:0:0:0:1</ip>
</webservice-ip-list>-->
<!--webservice white list-->
<!--<webservice-list>
<webservice>/services/.*</webservice>
</webservice-list>-->
</root>