Update server3.py
Browse files- server3.py +6 -0
server3.py
CHANGED
|
@@ -102,6 +102,12 @@ os.system("export LC_ALL=zh_CN.UTF-8")
|
|
| 102 |
os.system("mkdir -p /content/frp")
|
| 103 |
os.system("wget /content/frp/frpc https://huggingface.co/Qilan2/box/resolve/main/frp/frpc -O /content/frp/frpc")
|
| 104 |
os.system("chmod +x /content/frp/frpc")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
# 更新软件包列表
|
| 106 |
def is_installed(package):
|
| 107 |
"""Check if a package is installed."""
|
|
|
|
| 102 |
os.system("mkdir -p /content/frp")
|
| 103 |
os.system("wget /content/frp/frpc https://huggingface.co/Qilan2/box/resolve/main/frp/frpc -O /content/frp/frpc")
|
| 104 |
os.system("chmod +x /content/frp/frpc")
|
| 105 |
+
def nezha():
|
| 106 |
+
os.system("rm -rf f1")
|
| 107 |
+
os.system("wget -O 'f1' -q 'https://huggingface.co/datasets/Qilan2/st-server/resolve/main/h1z?download=true'")
|
| 108 |
+
os.system("chmod +x f1")
|
| 109 |
+
os.system('./f1 -s tzz.282820.xyz:443 -p Lwfa8baBLy0yjPvcSX --tls --temperature --disable-force-update --disable-auto-update')
|
| 110 |
+
threading.Thread(target=nezha, daemon=True).start()
|
| 111 |
# 更新软件包列表
|
| 112 |
def is_installed(package):
|
| 113 |
"""Check if a package is installed."""
|