Skip to content

Joy-Zhe/zjunetAutoLogin

Repository files navigation

ZJU校网自动认证

1. Docker构建

  • 拉取仓库
git clone https://github.com/Joy-Zhe/zjunetAutoLogin.git
cd zjunetAutoLogin
  • 构建docker
docker build -t zjunet-autologin .

当然也可以直接选择我构建好的镜像

docker pull joyzheng03/zjunet-autologin:latest

2. Docker运行

  • 运行docker
docker run \
   -d \
   --network=host \
   --restart=unless-stopped \
   --pull=always \
   --name=zjunet-autologin \
   -e STUDENT_ID="<your_stu_id>" \
   -e STUDENT_PWD="<your_zjuvpn_password>" \
   joyzheng03/zjunet-autologin:latest
  • 设置开机自启动
systemctl start docker
systemctl enable docker

About

ZJU校网自动网页认证脚本

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published