Skip to main content

终端登录武汉大学校园网, 国软IIS-WEB

Project description

个人用登录武大校园网终端小工具(已经懒的开浏览器了….)

安装

$ sudo pip install net-access-whu

使用

  • 直接登录
$ net-access-whu -u 2020301260064 -p hellflame
  • 配置文件登录
$ net-access-whu -c login.json

login.json 文件格式 .. code:

{
  "username": 2020301260064,
  "password": "hellflame"
}
  • 退出

退出时许至少指定用户名,因为用户退出链接会以文本方式存储到系统临时目录(系统会自动清理)

指定配置文件

$ net-access-whu -c login.json -d logout

指定用户名

$ net-access-whu -u 2020301260064 -d logout

之后就等着查看返回消息就好了

环境兼容

python2

linux, mac os, windows

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

net-access-whu-0.4.4.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distributions

net_access_whu-0.4.4-py2.7.egg (9.3 kB view hashes)

Uploaded 2 7

net_access_whu-0.4.4-py2-none-any.whl (6.7 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page