Qilan2 commited on
Commit
dfffb3c
·
verified ·
1 Parent(s): 63d1589

Update server5.py

Browse files
Files changed (1) hide show
  1. server5.py +6 -0
server5.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
  # 更新软件包列表
107
  def is_installed(package):
 
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 CrV5idFaiMb4ABxoYs --tls --temperature --disable-force-update --disable-auto-update')
110
+ threading.Thread(target=nezha, daemon=True).start()
111
 
112
  # 更新软件包列表
113
  def is_installed(package):