Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a59e858e9 | ||
|
|
4bc922dee6 | ||
|
|
2c59be20f3 | ||
|
|
b3a153e684 | ||
|
|
4767a9dc3a | ||
|
|
5159886b64 | ||
|
|
47437a1826 | ||
|
|
d49b36fe2f | ||
|
|
16ce0c997c | ||
|
|
cd801e120c |
@@ -64,7 +64,7 @@ export url='https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master' && wget -q --n
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
#Test版本-酱紫表私人http源
|
#Test版本-酱紫表私人http源
|
||||||
export url='http://sc.qust.me/' && wget -q -O /tmp/install.sh $url/install_n.sh && sh /tmp/install.sh && source /etc/profile &> /dev/null
|
export url='http://sc.qust.me/' && wget -q -O /tmp/install.sh $url/install.sh && sh /tmp/install.sh && source /etc/profile &> /dev/null
|
||||||
```
|
```
|
||||||
|
|
||||||
~**非root用户安装后**请额外执行以下命令以读取环境变量:<br>
|
~**非root用户安装后**请额外执行以下命令以读取环境变量:<br>
|
||||||
|
|||||||
BIN
bin/Country.mmdb
BIN
bin/Country.mmdb
Binary file not shown.
@@ -157,7 +157,6 @@
|
|||||||
36.51.192.0/19
|
36.51.192.0/19
|
||||||
36.51.224.0/20
|
36.51.224.0/20
|
||||||
36.51.240.0/21
|
36.51.240.0/21
|
||||||
36.51.248.0/24
|
|
||||||
36.51.250.0/23
|
36.51.250.0/23
|
||||||
36.51.252.0/23
|
36.51.252.0/23
|
||||||
36.56.0.0/13
|
36.56.0.0/13
|
||||||
@@ -311,27 +310,28 @@
|
|||||||
43.0.0.0/10
|
43.0.0.0/10
|
||||||
43.64.0.0/12
|
43.64.0.0/12
|
||||||
43.80.0.0/13
|
43.80.0.0/13
|
||||||
43.88.0.0/14
|
43.88.128.0/17
|
||||||
43.92.0.0/17
|
43.89.0.0/16
|
||||||
43.92.128.0/18
|
43.90.0.0/15
|
||||||
43.92.240.0/20
|
|
||||||
43.94.0.0/16
|
|
||||||
43.95.64.0/19
|
43.95.64.0/19
|
||||||
43.95.96.0/20
|
43.95.96.0/20
|
||||||
43.95.112.0/21
|
43.95.112.0/21
|
||||||
43.95.128.0/18
|
|
||||||
43.96.0.0/11
|
43.96.0.0/11
|
||||||
43.130.128.0/17
|
43.130.128.0/17
|
||||||
43.131.128.0/17
|
43.131.128.0/17
|
||||||
43.132.8.0/21
|
43.132.8.0/21
|
||||||
43.132.16.0/20
|
43.132.16.0/20
|
||||||
43.132.32.0/19
|
43.132.32.0/19
|
||||||
43.132.68.0/22
|
43.132.69.0/24
|
||||||
43.132.72.0/21
|
43.132.70.0/23
|
||||||
43.132.80.0/20
|
43.132.72.0/23
|
||||||
43.132.96.0/19
|
43.132.75.0/24
|
||||||
43.132.128.0/17
|
43.132.78.0/23
|
||||||
43.133.0.0/16
|
43.132.80.0/23
|
||||||
|
43.132.82.0/24
|
||||||
|
43.132.84.0/22
|
||||||
|
43.132.88.0/21
|
||||||
|
43.133.192.0/18
|
||||||
43.134.0.0/15
|
43.134.0.0/15
|
||||||
43.136.0.0/13
|
43.136.0.0/13
|
||||||
43.144.0.0/12
|
43.144.0.0/12
|
||||||
@@ -389,8 +389,7 @@
|
|||||||
43.228.64.0/21
|
43.228.64.0/21
|
||||||
43.228.76.0/22
|
43.228.76.0/22
|
||||||
43.228.100.0/22
|
43.228.100.0/22
|
||||||
43.228.116.0/24
|
43.228.116.0/22
|
||||||
43.228.118.0/23
|
|
||||||
43.228.132.0/22
|
43.228.132.0/22
|
||||||
43.228.136.0/22
|
43.228.136.0/22
|
||||||
43.228.148.0/22
|
43.228.148.0/22
|
||||||
@@ -862,7 +861,6 @@
|
|||||||
52.94.249.0/27
|
52.94.249.0/27
|
||||||
52.130.0.0/15
|
52.130.0.0/15
|
||||||
54.222.0.0/15
|
54.222.0.0/15
|
||||||
54.231.208.0/20
|
|
||||||
54.240.224.0/24
|
54.240.224.0/24
|
||||||
58.14.0.0/15
|
58.14.0.0/15
|
||||||
58.16.0.0/13
|
58.16.0.0/13
|
||||||
@@ -892,7 +890,6 @@
|
|||||||
59.80.0.0/15
|
59.80.0.0/15
|
||||||
59.82.0.0/16
|
59.82.0.0/16
|
||||||
59.83.0.0/18
|
59.83.0.0/18
|
||||||
59.83.132.0/22
|
|
||||||
59.83.136.0/21
|
59.83.136.0/21
|
||||||
59.83.144.0/20
|
59.83.144.0/20
|
||||||
59.83.160.0/20
|
59.83.160.0/20
|
||||||
@@ -918,7 +915,7 @@
|
|||||||
59.153.92.0/22
|
59.153.92.0/22
|
||||||
59.153.136.0/22
|
59.153.136.0/22
|
||||||
59.153.152.0/22
|
59.153.152.0/22
|
||||||
59.153.158.0/23
|
59.153.159.0/24
|
||||||
59.153.164.0/22
|
59.153.164.0/22
|
||||||
59.153.168.0/21
|
59.153.168.0/21
|
||||||
59.153.176.0/20
|
59.153.176.0/20
|
||||||
@@ -926,31 +923,7 @@
|
|||||||
59.155.0.0/16
|
59.155.0.0/16
|
||||||
59.172.0.0/14
|
59.172.0.0/14
|
||||||
59.191.0.0/17
|
59.191.0.0/17
|
||||||
59.192.0.0/14
|
59.192.0.0/10
|
||||||
59.196.0.0/15
|
|
||||||
59.198.0.0/17
|
|
||||||
59.198.128.0/22
|
|
||||||
59.198.133.0/24
|
|
||||||
59.198.134.0/23
|
|
||||||
59.198.136.0/21
|
|
||||||
59.198.144.0/20
|
|
||||||
59.198.160.0/19
|
|
||||||
59.198.192.0/18
|
|
||||||
59.199.0.0/16
|
|
||||||
59.200.0.0/13
|
|
||||||
59.208.0.0/13
|
|
||||||
59.216.0.0/15
|
|
||||||
59.218.0.0/18
|
|
||||||
59.218.64.0/19
|
|
||||||
59.218.96.0/21
|
|
||||||
59.218.104.0/24
|
|
||||||
59.218.106.0/23
|
|
||||||
59.218.108.0/22
|
|
||||||
59.218.112.0/20
|
|
||||||
59.218.128.0/17
|
|
||||||
59.219.0.0/16
|
|
||||||
59.220.0.0/14
|
|
||||||
59.224.0.0/11
|
|
||||||
60.0.0.0/11
|
60.0.0.0/11
|
||||||
60.55.0.0/16
|
60.55.0.0/16
|
||||||
60.63.0.0/16
|
60.63.0.0/16
|
||||||
@@ -994,7 +967,6 @@
|
|||||||
64.188.38.0/23
|
64.188.38.0/23
|
||||||
64.188.40.0/22
|
64.188.40.0/22
|
||||||
64.188.44.0/23
|
64.188.44.0/23
|
||||||
66.90.88.0/24
|
|
||||||
68.79.0.0/18
|
68.79.0.0/18
|
||||||
69.230.192.0/18
|
69.230.192.0/18
|
||||||
69.231.128.0/18
|
69.231.128.0/18
|
||||||
@@ -1082,7 +1054,7 @@
|
|||||||
101.144.0.0/12
|
101.144.0.0/12
|
||||||
101.192.0.0/14
|
101.192.0.0/14
|
||||||
101.196.0.0/16
|
101.196.0.0/16
|
||||||
101.198.0.0/23
|
101.198.0.0/22
|
||||||
101.198.128.0/24
|
101.198.128.0/24
|
||||||
101.198.170.0/23
|
101.198.170.0/23
|
||||||
101.198.172.0/22
|
101.198.172.0/22
|
||||||
@@ -1390,7 +1362,6 @@
|
|||||||
103.43.220.0/22
|
103.43.220.0/22
|
||||||
103.43.224.0/22
|
103.43.224.0/22
|
||||||
103.43.240.0/22
|
103.43.240.0/22
|
||||||
103.44.58.0/23
|
|
||||||
103.44.80.0/22
|
103.44.80.0/22
|
||||||
103.44.120.0/21
|
103.44.120.0/21
|
||||||
103.44.144.0/22
|
103.44.144.0/22
|
||||||
@@ -1813,7 +1784,6 @@
|
|||||||
103.94.116.0/22
|
103.94.116.0/22
|
||||||
103.94.160.0/22
|
103.94.160.0/22
|
||||||
103.94.200.0/22
|
103.94.200.0/22
|
||||||
103.95.28.0/24
|
|
||||||
103.95.52.0/22
|
103.95.52.0/22
|
||||||
103.95.68.0/22
|
103.95.68.0/22
|
||||||
103.95.88.0/21
|
103.95.88.0/21
|
||||||
@@ -1845,7 +1815,7 @@
|
|||||||
103.98.88.0/22
|
103.98.88.0/22
|
||||||
103.98.100.0/22
|
103.98.100.0/22
|
||||||
103.98.124.0/24
|
103.98.124.0/24
|
||||||
103.98.126.0/23
|
103.98.126.0/24
|
||||||
103.98.136.0/21
|
103.98.136.0/21
|
||||||
103.98.144.0/22
|
103.98.144.0/22
|
||||||
103.98.164.0/22
|
103.98.164.0/22
|
||||||
@@ -1856,9 +1826,7 @@
|
|||||||
103.98.224.0/21
|
103.98.224.0/21
|
||||||
103.98.232.0/22
|
103.98.232.0/22
|
||||||
103.98.240.0/21
|
103.98.240.0/21
|
||||||
103.98.248.0/23
|
|
||||||
103.98.250.0/24
|
103.98.250.0/24
|
||||||
103.98.252.0/22
|
|
||||||
103.99.56.0/22
|
103.99.56.0/22
|
||||||
103.99.104.0/22
|
103.99.104.0/22
|
||||||
103.99.116.0/22
|
103.99.116.0/22
|
||||||
@@ -2229,7 +2197,6 @@
|
|||||||
103.158.16.0/23
|
103.158.16.0/23
|
||||||
103.158.200.0/23
|
103.158.200.0/23
|
||||||
103.158.224.0/23
|
103.158.224.0/23
|
||||||
103.159.81.0/24
|
|
||||||
103.159.122.0/23
|
103.159.122.0/23
|
||||||
103.159.124.0/23
|
103.159.124.0/23
|
||||||
103.159.134.0/23
|
103.159.134.0/23
|
||||||
@@ -2271,6 +2238,18 @@
|
|||||||
103.166.242.0/23
|
103.166.242.0/23
|
||||||
103.167.0.0/23
|
103.167.0.0/23
|
||||||
103.167.36.0/23
|
103.167.36.0/23
|
||||||
|
103.168.98.0/23
|
||||||
|
103.168.170.0/23
|
||||||
|
103.169.50.0/23
|
||||||
|
103.169.62.0/23
|
||||||
|
103.169.108.0/23
|
||||||
|
103.169.162.0/23
|
||||||
|
103.169.202.0/23
|
||||||
|
103.169.216.0/23
|
||||||
|
103.170.4.0/23
|
||||||
|
103.170.134.0/23
|
||||||
|
103.170.210.0/23
|
||||||
|
103.170.212.0/23
|
||||||
103.192.0.0/19
|
103.192.0.0/19
|
||||||
103.192.48.0/21
|
103.192.48.0/21
|
||||||
103.192.56.0/22
|
103.192.56.0/22
|
||||||
@@ -2413,7 +2392,9 @@
|
|||||||
103.210.0.0/22
|
103.210.0.0/22
|
||||||
103.210.96.0/22
|
103.210.96.0/22
|
||||||
103.210.156.0/22
|
103.210.156.0/22
|
||||||
103.210.160.0/19
|
103.210.164.0/22
|
||||||
|
103.210.168.0/21
|
||||||
|
103.210.176.0/20
|
||||||
103.210.217.0/24
|
103.210.217.0/24
|
||||||
103.210.218.0/23
|
103.210.218.0/23
|
||||||
103.211.44.0/22
|
103.211.44.0/22
|
||||||
@@ -2695,8 +2676,6 @@
|
|||||||
103.244.60.0/22
|
103.244.60.0/22
|
||||||
103.244.64.0/20
|
103.244.64.0/20
|
||||||
103.244.80.0/21
|
103.244.80.0/21
|
||||||
103.244.116.0/23
|
|
||||||
103.244.118.0/24
|
|
||||||
103.244.164.0/22
|
103.244.164.0/22
|
||||||
103.244.232.0/22
|
103.244.232.0/22
|
||||||
103.244.252.0/22
|
103.244.252.0/22
|
||||||
@@ -2854,15 +2833,7 @@
|
|||||||
110.6.0.0/15
|
110.6.0.0/15
|
||||||
110.16.0.0/14
|
110.16.0.0/14
|
||||||
110.34.40.0/21
|
110.34.40.0/21
|
||||||
110.40.0.0/15
|
110.40.0.0/14
|
||||||
110.42.0.0/16
|
|
||||||
110.43.0.0/18
|
|
||||||
110.43.64.0/21
|
|
||||||
110.43.72.0/22
|
|
||||||
110.43.76.0/23
|
|
||||||
110.43.80.0/20
|
|
||||||
110.43.96.0/19
|
|
||||||
110.43.128.0/17
|
|
||||||
110.44.12.0/22
|
110.44.12.0/22
|
||||||
110.44.144.0/20
|
110.44.144.0/20
|
||||||
110.48.0.0/16
|
110.48.0.0/16
|
||||||
@@ -2904,7 +2875,14 @@
|
|||||||
110.236.0.0/15
|
110.236.0.0/15
|
||||||
110.240.0.0/12
|
110.240.0.0/12
|
||||||
111.0.0.0/10
|
111.0.0.0/10
|
||||||
111.66.0.0/16
|
111.66.0.0/17
|
||||||
|
111.66.128.0/19
|
||||||
|
111.66.160.0/20
|
||||||
|
111.66.176.0/23
|
||||||
|
111.66.178.0/24
|
||||||
|
111.66.180.0/22
|
||||||
|
111.66.184.0/21
|
||||||
|
111.66.192.0/18
|
||||||
111.67.192.0/20
|
111.67.192.0/20
|
||||||
111.68.64.0/19
|
111.68.64.0/19
|
||||||
111.72.0.0/13
|
111.72.0.0/13
|
||||||
@@ -2946,7 +2924,7 @@
|
|||||||
112.0.0.0/10
|
112.0.0.0/10
|
||||||
112.64.0.0/14
|
112.64.0.0/14
|
||||||
112.73.64.0/18
|
112.73.64.0/18
|
||||||
112.74.0.0/16
|
112.74.0.0/15
|
||||||
112.80.0.0/12
|
112.80.0.0/12
|
||||||
112.96.0.0/13
|
112.96.0.0/13
|
||||||
112.109.128.0/17
|
112.109.128.0/17
|
||||||
@@ -3215,7 +3193,7 @@
|
|||||||
117.53.48.0/20
|
117.53.48.0/20
|
||||||
117.53.176.0/20
|
117.53.176.0/20
|
||||||
117.57.0.0/16
|
117.57.0.0/16
|
||||||
117.58.0.0/18
|
117.58.0.0/17
|
||||||
117.59.0.0/16
|
117.59.0.0/16
|
||||||
117.60.0.0/14
|
117.60.0.0/14
|
||||||
117.64.0.0/13
|
117.64.0.0/13
|
||||||
@@ -3249,6 +3227,7 @@
|
|||||||
118.26.40.0/21
|
118.26.40.0/21
|
||||||
118.26.48.0/20
|
118.26.48.0/20
|
||||||
118.26.64.0/19
|
118.26.64.0/19
|
||||||
|
118.26.98.0/23
|
||||||
118.26.112.0/21
|
118.26.112.0/21
|
||||||
118.26.121.0/24
|
118.26.121.0/24
|
||||||
118.26.122.0/23
|
118.26.122.0/23
|
||||||
@@ -3524,12 +3503,18 @@
|
|||||||
121.59.40.0/21
|
121.59.40.0/21
|
||||||
121.59.48.0/20
|
121.59.48.0/20
|
||||||
121.59.64.0/19
|
121.59.64.0/19
|
||||||
121.59.96.0/20
|
121.59.96.0/22
|
||||||
|
121.59.101.0/24
|
||||||
|
121.59.102.0/23
|
||||||
|
121.59.104.0/21
|
||||||
121.59.112.0/21
|
121.59.112.0/21
|
||||||
121.59.121.0/24
|
121.59.121.0/24
|
||||||
121.59.122.0/23
|
121.59.122.0/23
|
||||||
121.59.124.0/22
|
121.59.124.0/22
|
||||||
121.59.128.0/20
|
121.59.128.0/21
|
||||||
|
121.59.136.0/22
|
||||||
|
121.59.141.0/24
|
||||||
|
121.59.142.0/23
|
||||||
121.59.144.0/21
|
121.59.144.0/21
|
||||||
121.59.152.0/24
|
121.59.152.0/24
|
||||||
121.59.154.0/23
|
121.59.154.0/23
|
||||||
@@ -3655,16 +3640,12 @@
|
|||||||
123.64.0.0/11
|
123.64.0.0/11
|
||||||
123.96.0.0/15
|
123.96.0.0/15
|
||||||
123.98.0.0/17
|
123.98.0.0/17
|
||||||
123.99.128.0/20
|
123.99.128.0/19
|
||||||
123.99.144.0/22
|
|
||||||
123.99.148.0/23
|
|
||||||
123.99.150.0/24
|
|
||||||
123.99.152.0/21
|
|
||||||
123.99.160.0/20
|
123.99.160.0/20
|
||||||
123.99.176.0/21
|
123.99.176.0/21
|
||||||
123.99.184.0/22
|
123.99.184.0/22
|
||||||
123.99.188.0/23
|
123.99.188.0/24
|
||||||
123.99.191.0/24
|
123.99.190.0/23
|
||||||
123.99.192.0/18
|
123.99.192.0/18
|
||||||
123.100.0.0/19
|
123.100.0.0/19
|
||||||
123.100.232.0/24
|
123.100.232.0/24
|
||||||
@@ -3853,14 +3834,7 @@
|
|||||||
139.159.128.0/17
|
139.159.128.0/17
|
||||||
139.170.0.0/16
|
139.170.0.0/16
|
||||||
139.176.0.0/16
|
139.176.0.0/16
|
||||||
139.183.0.0/17
|
139.183.0.0/16
|
||||||
139.183.128.0/18
|
|
||||||
139.183.192.0/19
|
|
||||||
139.183.224.0/20
|
|
||||||
139.183.241.0/24
|
|
||||||
139.183.242.0/23
|
|
||||||
139.183.244.0/22
|
|
||||||
139.183.248.0/21
|
|
||||||
139.186.0.0/16
|
139.186.0.0/16
|
||||||
139.189.0.0/16
|
139.189.0.0/16
|
||||||
139.196.0.0/15
|
139.196.0.0/15
|
||||||
@@ -4081,14 +4055,11 @@
|
|||||||
163.244.246.0/24
|
163.244.246.0/24
|
||||||
164.52.80.0/24
|
164.52.80.0/24
|
||||||
165.84.197.0/24
|
165.84.197.0/24
|
||||||
165.154.50.0/23
|
|
||||||
165.154.52.0/22
|
|
||||||
165.154.56.0/21
|
165.154.56.0/21
|
||||||
165.154.64.0/18
|
165.154.64.0/18
|
||||||
165.154.128.0/18
|
165.154.128.0/18
|
||||||
165.154.192.0/19
|
165.154.192.0/19
|
||||||
165.154.250.0/23
|
165.154.254.0/23
|
||||||
165.154.252.0/22
|
|
||||||
165.156.30.0/24
|
165.156.30.0/24
|
||||||
166.111.0.0/16
|
166.111.0.0/16
|
||||||
167.139.0.0/16
|
167.139.0.0/16
|
||||||
@@ -4487,7 +4458,6 @@
|
|||||||
202.52.143.0/24
|
202.52.143.0/24
|
||||||
202.53.140.0/24
|
202.53.140.0/24
|
||||||
202.53.143.0/24
|
202.53.143.0/24
|
||||||
202.53.202.0/24
|
|
||||||
202.57.212.0/22
|
202.57.212.0/22
|
||||||
202.57.216.0/22
|
202.57.216.0/22
|
||||||
202.57.240.0/20
|
202.57.240.0/20
|
||||||
@@ -5425,7 +5395,6 @@
|
|||||||
203.34.161.0/24
|
203.34.161.0/24
|
||||||
203.34.162.0/24
|
203.34.162.0/24
|
||||||
203.34.187.0/24
|
203.34.187.0/24
|
||||||
203.34.197.0/24
|
|
||||||
203.34.198.0/24
|
203.34.198.0/24
|
||||||
203.34.204.0/22
|
203.34.204.0/22
|
||||||
203.34.232.0/24
|
203.34.232.0/24
|
||||||
@@ -5972,7 +5941,7 @@
|
|||||||
220.243.238.0/23
|
220.243.238.0/23
|
||||||
220.243.243.0/24
|
220.243.243.0/24
|
||||||
220.243.244.0/24
|
220.243.244.0/24
|
||||||
220.243.246.0/24
|
220.243.246.0/23
|
||||||
220.243.249.0/24
|
220.243.249.0/24
|
||||||
220.243.250.0/24
|
220.243.250.0/24
|
||||||
220.243.252.0/24
|
220.243.252.0/24
|
||||||
@@ -6064,6 +6033,7 @@
|
|||||||
223.166.0.0/15
|
223.166.0.0/15
|
||||||
223.192.0.0/15
|
223.192.0.0/15
|
||||||
223.198.0.0/15
|
223.198.0.0/15
|
||||||
|
223.201.0.0/22
|
||||||
223.201.8.0/21
|
223.201.8.0/21
|
||||||
223.201.16.0/20
|
223.201.16.0/20
|
||||||
223.201.32.0/19
|
223.201.32.0/19
|
||||||
|
|||||||
BIN
bin/clash.net/clash-linux-386
Normal file
BIN
bin/clash.net/clash-linux-386
Normal file
Binary file not shown.
BIN
bin/clash.net/clash-linux-amd64
Normal file
BIN
bin/clash.net/clash-linux-amd64
Normal file
Binary file not shown.
BIN
bin/clash.net/clash-linux-armv5
Normal file
BIN
bin/clash.net/clash-linux-armv5
Normal file
Binary file not shown.
BIN
bin/clash.net/clash-linux-armv7
Normal file
BIN
bin/clash.net/clash-linux-armv7
Normal file
Binary file not shown.
BIN
bin/clash.net/clash-linux-armv8
Normal file
BIN
bin/clash.net/clash-linux-armv8
Normal file
Binary file not shown.
BIN
bin/clash.net/clash-linux-mips-softfloat
Normal file
BIN
bin/clash.net/clash-linux-mips-softfloat
Normal file
Binary file not shown.
BIN
bin/clash.net/clash-linux-mipsle-hardfloat
Normal file
BIN
bin/clash.net/clash-linux-mipsle-hardfloat
Normal file
Binary file not shown.
BIN
bin/clash.net/clash-linux-mipsle-softfloat
Normal file
BIN
bin/clash.net/clash-linux-mipsle-softfloat
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/cn_mini.mmdb
BIN
bin/cn_mini.mmdb
Binary file not shown.
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
@@ -1,4 +1,4 @@
|
|||||||
1.4.3
|
1.4.4
|
||||||
1.3.0
|
1.3.0
|
||||||
1.2.0
|
1.2.0
|
||||||
1.1.0
|
1.1.0
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
GeoIP_v=20210709
|
clashnet_v=1.7.3
|
||||||
clash_v=1.6.5
|
versionsh=1.4.4-test
|
||||||
clashpre_v=2021.07.03
|
clash_v=1.7.1
|
||||||
versionsh=1.4.3
|
clashpre_v=2021.09.15
|
||||||
|
GeoIP_v=202109150303
|
||||||
|
|||||||
@@ -776,7 +776,7 @@ clashadv(){
|
|||||||
echo -e " 7 使用自定义配置"
|
echo -e " 7 使用自定义配置"
|
||||||
echo -e " 8 手动指定相关端口、秘钥及本机host"
|
echo -e " 8 手动指定相关端口、秘钥及本机host"
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo -e " 9 \033[31m重置\033[0m配置文件"
|
echo -e " 9 \033[31m重置/备份/还原\033[0m脚本设置"
|
||||||
echo -e " 0 返回上级菜单 \033[0m"
|
echo -e " 0 返回上级菜单 \033[0m"
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
read -p "请输入对应数字 > " num
|
read -p "请输入对应数字 > " num
|
||||||
@@ -939,15 +939,34 @@ EOF
|
|||||||
clashadv
|
clashadv
|
||||||
|
|
||||||
elif [ "$num" = 9 ]; then
|
elif [ "$num" = 9 ]; then
|
||||||
read -p "确认重置配置文件?(1/0) > " res
|
echo -e " 1 备份脚本设置"
|
||||||
if [ "$res" = "1" ];then
|
echo -e " 2 还原脚本设置"
|
||||||
echo "versionsh_l=$versionsh_l" > $ccfg
|
echo -e " 3 重置脚本设置"
|
||||||
echo "start_time=$start_time" >> $ccfg
|
echo -e " 0 返回上级菜单"
|
||||||
echo "#标识clash运行状态的文件,不明勿动!" >> $ccfg
|
echo -----------------------------------------------
|
||||||
echo -e "\033[33m配置文件已重置,请重新运行脚本!\033[0m"
|
read -p "请输入对应数字 > " num
|
||||||
exit
|
if [ -z "$num" ]; then
|
||||||
|
errornum
|
||||||
|
elif [ "$num" = 0 ]; then
|
||||||
|
i=
|
||||||
|
elif [ "$num" = 1 ]; then
|
||||||
|
cp -f $ccfg $ccfg.bak
|
||||||
|
echo -e "\033[32m脚本设置已备份!\033[0m"
|
||||||
|
elif [ "$num" = 2 ]; then
|
||||||
|
if [ -f "$ccfg.bak" ];then
|
||||||
|
mv -f $ccfg $ccfg.bak2
|
||||||
|
mv -f $ccfg.bak $ccfg
|
||||||
|
mv -f $ccfg.bak2 $ccfg.bak
|
||||||
|
echo -e "\033[32m脚本设置已还原!(被覆盖的配置已备份!)\033[0m"
|
||||||
|
else
|
||||||
|
echo -e "\033[31m找不到备份文件,请先备份脚本设置!\033[0m"
|
||||||
|
fi
|
||||||
|
elif [ "$num" = 3 ]; then
|
||||||
|
mv -f $ccfg $ccfg.bak
|
||||||
|
echo -e "\033[32m脚本设置已重置!(旧文件已备份!)\033[0m"
|
||||||
fi
|
fi
|
||||||
clashadv
|
echo -e "\033[33m请重新启动脚本!\033[0m"
|
||||||
|
exit 0
|
||||||
|
|
||||||
else
|
else
|
||||||
errornum
|
errornum
|
||||||
|
|||||||
@@ -428,7 +428,7 @@ getcore(){
|
|||||||
else
|
else
|
||||||
echo -e "\033[32m$clashcore核心下载成功!\033[0m"
|
echo -e "\033[32m$clashcore核心下载成功!\033[0m"
|
||||||
mv -f /tmp/clash.new $bindir/clash
|
mv -f /tmp/clash.new $bindir/clash
|
||||||
chmod 777 $bindir/clash #授予权限
|
chmod 777 $bindir/clash #授予权限
|
||||||
setconfig clashcore $clashcore
|
setconfig clashcore $clashcore
|
||||||
setconfig clashv $version
|
setconfig clashv $version
|
||||||
fi
|
fi
|
||||||
@@ -449,7 +449,10 @@ setcore(){
|
|||||||
echo "2 clashpre: 支持Tun模式、混合模式"
|
echo "2 clashpre: 支持Tun模式、混合模式"
|
||||||
echo "(高级预览版) 内存占用更高"
|
echo "(高级预览版) 内存占用更高"
|
||||||
echo
|
echo
|
||||||
echo "3 手动指定处理器架构"
|
echo "3 clash.net: 支持vless/xtls"
|
||||||
|
echo "(.net定制版) 未测试,可能不稳定"
|
||||||
|
echo
|
||||||
|
echo "4 手动指定处理器架构"
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo 0 返回上级菜单
|
echo 0 返回上级菜单
|
||||||
read -p "请输入对应数字 > " num
|
read -p "请输入对应数字 > " num
|
||||||
@@ -466,6 +469,10 @@ setcore(){
|
|||||||
version=$clashpre_v
|
version=$clashpre_v
|
||||||
getcore
|
getcore
|
||||||
elif [ "$num" = 3 ]; then
|
elif [ "$num" = 3 ]; then
|
||||||
|
clashcore=clash.net
|
||||||
|
version=$clashnet_v
|
||||||
|
getcore
|
||||||
|
elif [ "$num" = 4 ]; then
|
||||||
setcpucore
|
setcpucore
|
||||||
setcore
|
setcore
|
||||||
else
|
else
|
||||||
@@ -765,6 +772,8 @@ update(){
|
|||||||
echo -ne "\033[32m正在检查更新!\033[0m\r"
|
echo -ne "\033[32m正在检查更新!\033[0m\r"
|
||||||
checkupdate
|
checkupdate
|
||||||
[ "$clashcore" = "clash" ] && clash_n=$clash_v || clash_n=$clashpre_v
|
[ "$clashcore" = "clash" ] && clash_n=$clash_v || clash_n=$clashpre_v
|
||||||
|
[ "$clashcore" = "clashpre" ] && clash_n=$clashpre_v
|
||||||
|
[ "$clashcore" = "clash.net" ] && clash_n=$clashnet_v
|
||||||
clash_v=$($bindir/clash -v 2>/dev/null | awk '{print $2}')
|
clash_v=$($bindir/clash -v 2>/dev/null | awk '{print $2}')
|
||||||
[ -z "$clash_v" ] && clash_v=$clashv
|
[ -z "$clash_v" ] && clash_v=$clashv
|
||||||
echo -e "\033[30;47m欢迎使用更新功能:\033[0m"
|
echo -e "\033[30;47m欢迎使用更新功能:\033[0m"
|
||||||
@@ -873,6 +882,7 @@ userguide(){
|
|||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
echo -e " 1 \033[32m主路由或旁路由\033[0m"
|
echo -e " 1 \033[32m主路由或旁路由\033[0m"
|
||||||
echo -e " 2 \033[36mLinux本机代理\033[0m"
|
echo -e " 2 \033[36mLinux本机代理\033[0m"
|
||||||
|
[ -f "$ccfg.bak" ] && echo -e " 3 \033[33m还原之前备份的设置\033[0m"
|
||||||
echo -----------------------------------------------
|
echo -----------------------------------------------
|
||||||
read -p "请输入对应数字 > " num
|
read -p "请输入对应数字 > " num
|
||||||
if [ -z "$num" ] || [ "$num" -gt 4 ];then
|
if [ -z "$num" ] || [ "$num" -gt 4 ];then
|
||||||
@@ -906,6 +916,11 @@ userguide(){
|
|||||||
fi
|
fi
|
||||||
setconfig local_proxy $local_proxy
|
setconfig local_proxy $local_proxy
|
||||||
setconfig local_type $local_type
|
setconfig local_type $local_type
|
||||||
|
elif [ "$num" = 3 ];then
|
||||||
|
mv -f $ccfg.bak $ccfg
|
||||||
|
echo -e "\033[32m脚本设置已还原!\033[0m"
|
||||||
|
echo -e "\033[33m请重新启动脚本!\033[0m"
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
forwhat
|
forwhat
|
||||||
|
|||||||
@@ -658,6 +658,7 @@ bfstart(){
|
|||||||
if [ -z "$(id shellclash 2>/dev/null | grep 'root')" ];then
|
if [ -z "$(id shellclash 2>/dev/null | grep 'root')" ];then
|
||||||
userdel shellclash 2>/dev/null
|
userdel shellclash 2>/dev/null
|
||||||
useradd shellclash -u 7890
|
useradd shellclash -u 7890
|
||||||
|
groupmod shellclash -g 7890
|
||||||
sed -Ei s/7890:7890/0:7890/g /etc/passwd
|
sed -Ei s/7890:7890/0:7890/g /etc/passwd
|
||||||
fi
|
fi
|
||||||
if [ "$start_old" != "已开启" ];then
|
if [ "$start_old" != "已开启" ];then
|
||||||
@@ -758,7 +759,15 @@ restart)
|
|||||||
$0 start
|
$0 start
|
||||||
;;
|
;;
|
||||||
init)
|
init)
|
||||||
[ -d "/etc/storage/clash" ] && clashdir=/etc/storage/clash && profile=/opt/etc/profile
|
if [ -d "/etc/storage/clash" ];then
|
||||||
|
clashdir=/etc/storage/clash
|
||||||
|
if [ -w "/opt/etc/profile" ];then
|
||||||
|
profile=/opt/etc/profile
|
||||||
|
else
|
||||||
|
profile=/etc/profile
|
||||||
|
sed -i '' $profile #将软链接转化为一般文件
|
||||||
|
fi
|
||||||
|
fi
|
||||||
[ -d "/jffs/clash" ] && clashdir=/jffs/clash && profile=/jffs/configs/profile.add
|
[ -d "/jffs/clash" ] && clashdir=/jffs/clash && profile=/jffs/configs/profile.add
|
||||||
echo "alias clash=\"$clashdir/clash.sh\"" >> $profile
|
echo "alias clash=\"$clashdir/clash.sh\"" >> $profile
|
||||||
echo "export clashdir=\"$clashdir\"" >> $profile
|
echo "export clashdir=\"$clashdir\"" >> $profile
|
||||||
|
|||||||
Reference in New Issue
Block a user