Skip to main content

上海海事大学校园网自动认证工具

Project description

上海海事大学-校园网-自动认证

Python 3.5+ License

Features

  • 自动登录
  • 程序记录日志

Usage

Docker(Recommended)

https://hub.docker.com/r/a645162/shmtu-auth

docker pull registry.cn-shanghai.aliyuncs.com/a645162/shmtu-auth:latest

Directly Run

Windows

.\start.ps1

Linux

chmod +x start.sh
./start.sh

Environment Variables

学号列表中,学号之间用;分隔

  • SHMTU_AUTH_USER_LIST : {学号1};{学号2}
  • SHMTU_AUTH_USER_PWD_{学号1} : {学号1的密码}
  • SHMTU_AUTH_USER_PWD_{学号2} : {学号2的密码}
  • SHMTU_AUTH_USER_PWD_ENCRYPT_{学号1} : {学号1的密码的是否为密文,密文为1,否则不用填}
  • SHMTU_MACHINE_NAME: 服务器名称
  • SHMTU_AUTH_TIME_INTERVAL: 认证状态检测时间间隔
  • SHMTU_AUTH_WEBHOOK_WEWORK: 企业微信机器人WebHook
  • SHMTU_WEBHOOK_SLEEP_TIME_START: WebHook免打扰-开始时间
  • SHMTU_WEBHOOK_SLEEP_TIME_END: WebHook免打扰-结束时间

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shmtu-auth-1.2.0.tar.gz (28.8 kB view hashes)

Uploaded Source

Built Distribution

shmtu_auth-1.2.0-py3-none-any.whl (32.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page