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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file shmtu-auth-1.2.0.tar.gz.

File metadata

  • Download URL: shmtu-auth-1.2.0.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for shmtu-auth-1.2.0.tar.gz
Algorithm Hash digest
SHA256 855330b1e256be7b9c5591e3838ac0fb9fe847fa4cc6ed966026a9666249388d
MD5 94fde9ce72bb46103532401c6942ebff
BLAKE2b-256 38c7e13207b16677d8e2c3cdce66097bcb01ca722541082e2dd759ecd8af1209

See more details on using hashes here.

File details

Details for the file shmtu_auth-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: shmtu_auth-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for shmtu_auth-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52c250d46b3cde0ce314a3c9e325d201fcb8b6130d8b889e824812b6fb89f84e
MD5 9d38b9a8ca74248e8e01fc4615fd7f88
BLAKE2b-256 c1f99b1768c1d1a71237e843dc217373eac65aaec85d827343337b6eeb93c920

See more details on using hashes here.

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