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