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.

Filename, size & hash SHA256 hash help File type Python version Upload date
net_access_whu-0.4.4-py2.7.egg (9.3 kB) Copy SHA256 hash SHA256 Egg 2.7 Oct 31, 2016
net_access_whu-0.4.4-py2-none-any.whl (6.7 kB) Copy SHA256 hash SHA256 Wheel py2 Oct 31, 2016
net-access-whu-0.4.4.tar.gz (4.6 kB) Copy SHA256 hash SHA256 Source None Oct 31, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page