-
Notifications
You must be signed in to change notification settings - Fork 8
/
cfg.yml
61 lines (61 loc) · 1.44 KB
/
cfg.yml
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
urlWhiteList:
- ^/example/index
postBan:
- \w*((\%27)|(\'))((\%6F)|o|(\%4F))((\%72)|r|(\%52))
- ((\%3D)|(=))[^\n]*((\%27)|(\')|(\-\-)|(\%3B)|(;))
- ((\%27)|(\'))union
- exec(\s|\+)+(s|x)p\w+
- ((\%3C)|<)((\%2F)|\/)*[a-z0-9\%]+((\%3E)|>)
- 3cscript
- 2fscript
- <script
- \(.+select
- \+\(
- \+\s+\(
- \%3C\%73\%63\%72\%69\%70\%74
- \%C0\%BC
- \%E0\%80\%BC
urlBan:
- \w*((\%27)|(\'))((\%6F)|o|(\%4F))((\%72)|r|(\%52))
- ((\%3D)|(=))[^\n]*((\%27)|(\')|(\-\-)|(\%3B)|(;))
- ((\%27)|(\'))union
- exec(\s|\+)+(s|x)p\w+
- ((\%3C)|<)((\%2F)|\/)*[a-z0-9\%]+((\%3E)|>)
- \%3C\%73\%63\%72\%69\%70\%74
- ((\%3C)|<)[^\n]+((\%3E)|>)
- onload
- autofocus
- refresh
queryBan:
- ((\%3C)|<)((\%69)|i|(\%49))((\%6D)|m|(\%4D))((\%67)|g|(\%47))[^\n]+((\%3E)|>)
- 'javascript\:'
- img(\%20)+src
- img(\%20)+dynsrc
- img(\%20)+lowsrc
- javascript\%3a
- onload
- onerror
- onclick
- \%22.*-\w
- \%22\%3e\%3c
- \)(%20|)+%3e
- \%5c%\22\%3b
- \%3C\%73\%63\%72\%69\%70\%74
- ((\%3C)|<)[^\n]+((\%3E)|>)
- <svg
- \%3Csvg
- \%C0\%BC
- \%E0\%80\%BC
postFilter:
- name: javascript
description: "Match javascript."
match: 'javascript'
template: '{{ .Match | shuffle }}'
- name: script
description: "script tags"
match: '\<script.*\>'
template: '{{ .Match | shuffle}}'
- name: scriptenc
description: "encoded script tags"
match: '\%3cscript.*\%3e'
template: '{{ .Match | shuffle }}'