-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
51 lines (44 loc) · 1.6 KB
/
config.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
{
"port": 8888,
"logging": {
"enable": true,
"logFile": "proxy.log"
},
"caching": {
"enable": true,
"size": 200
},
"privacy": {
"enable": true,
"userAgent": "CN Proxy Server (v1.0.0)"
},
"restriction": {
"enable": true,
"targets": [
{
"URL": "sib.ir",
"notify": "true"
},
{
"URL": "acm.ut.ac.ir",
"notify": "false"
}
]
},
"accounting":{
"enable": true,
"users":[
{
"IP": "127.0.0.1",
"volume":"0"
}
]
},
"HTTPInjection": {
"enable": true,
"post": {
"body": "Injection text"
}
},
"ForbiddenPage": "HTTP/1.1 403 Forbidden\r\nContent-Length: 904\r\nContent-Type: text/html\r\nConnection:Closed\r\n\r\n<html>\n<style>\n@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');\nhtml, body {\nwidth: 100%;\nheight: 100%;\nmargin: 0;\n}* {\nfont-family: 'Press Start 2P', cursive;\nbox-sizing: border-box;\n}\n#app {\npadding: 1rem;\nbackground: black;\ndisplay: flex;\nheight: 100%;\njustify-content: center;\nalign-items: center;\ncolor: #54fe55;\ntext-shadow: 0px 0px 10px;\nfont-size: 6rem;\nflex-direction: column;\n}\n#app .txt {\nfont-size: 1.8rem;\n}\n@keyframes blink {\n0% {\nopacity: 0;\n}\n49% {\nopacity: 0;\n}\n50% {\nopacity: 1;\n}\n100% {\nopacity: 1;\n}\n}\n.blink {\nanimation-name: blink;\nanimation-duration: 1s;\nanimation-iteration-count: infinite;\n}\n</style>\n<head>\n<title>forbidden</title>\n</head>\n<body>\n<div id=\"app\">\n<div>403</div>\n<div class=\"txt\">\nForbidden<span class=\"blink\">_</span>\n</div>\n</div>\n</body>\n</html>"
}