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.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

net_access_whu-0.4.0-py2.7.egg (9.0 kB view hashes)

Uploaded Source

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