forked from starjun/openstar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_Mod.json
102 lines (102 loc) · 2.66 KB
/
app_Mod.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[
{
"state": "on",
"action": ["deny"],
"hostname": ["101.200.122.200",""],
"uri": ["^/([\\w]{4}\\.html|deny\\.do|你好\\.html)$","jio"]
},
{
"state": "on",
"action": ["rehtml"],
"rehtml": "<html>hi~!</html>",
"hostname": ["101.200.122.200",""],
"uri": ["/rehtml",""]
},
{
"state": "on",
"action": ["refile"],
"refile": "2.txt",
"hostname": ["101.200.122.200",""],
"uri": ["/refile",""]
},
{
"state": "on",
"action": ["deny"],
"hostname": [["101.200.122.200","127.0.0.1"],"list"],
"uri": ["/api/.*","jio"],
"app_ext":[
["ip",[["106.37.236.170","1.1.1.1"],"list",true]]
]
},
{
"state": "on",
"action": ["relua"],
"relua":"1.lua",
"hostname": ["127.0.0.1:5460",""],
"uri": ["/relua",""]
},
{
"state": "on",
"action": ["relua_str"],
"relua_str":"local a = 1 if a<1 then ngx.say(1) end return 2",
"hostname": ["127.0.0.1:5460",""],
"uri": ["/relua",""]
},
{
"state": "on",
"action": ["log"],
"hostname": ["127.0.0.1:5460",""],
"uri": ["/log",""]
},
{
"state": "on",
"action": ["deny"],
"hostname": [["101.200.122.200","127.0.0.1"],"list"],
"uri": ["/api/.*","jio"],
"app_ext":[
["uri",["admin","in"],"or"],
["cookie",["c_test","jio"],"and"],
["ip",[["1.1.1.1","127.0.0.1"],"list",true],"and"]
]
},
{
"state": "on",
"action": ["refile"],
"refile": ["js_debug.txt","text/html"],
"hostname": ["localhost5460",""],
"uri": ["/api/test/debug",""],
"app_ext":[
["args",["true","@token@",["cctoken"],true]]
]
},
{
"state": "on",
"action": ["refile"],
"refile": ["js_time.txt","text/html"],
"hostname": ["localhost5460",""],
"uri": ["/api/test/time",""],
"app_ext":[
["args",["^[\\w]{6}$","jio",["cc",3],true]]
]
},
{
"state": "on",
"action": ["deny"],
"hostname": ["localhost5460",""],
"uri": ["/len",""],
"app_ext":[
["args",[[5,15],"len",["arg_len"],true]]
]
},
{
"state": "on",
"action": ["deny"],
"post_form":1024,
"hostname": ["localhost5460",""],
"uri": ["/api/test/debug",""],
"app_ext":[
["post_form",["\\.(jpg|jpeg|png|webp|gif)$","jio",["image0",2],true],"or"],
["post_form",["(;|-|/)","jio",["image0",2],false],"or"]
]
}
]