HollowMan6 / Srun-LZU-Network-Auth

Tool for CLI login, logout, check acccount info for LZU 'SRun CGI Auth Intf Svr V1.18'(兰大深澜网络认证CLI登录、注销、查询信息客户端)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

兰大深澜网络认证工具

last-commit release-date Python package

Followers watchers stars forks

Open Source Love GPL Licence Repo-Size

Total alerts Language grade: Python

(English version is down below)

Python库依赖

程序

Python版兰大深澜网络认证CLI登录、注销、查询信息客户端。

目前支持SRun CGI Auth Intf Svr V1.18 B20200522,可能并不局限于兰州大学(当然要指定loginurl),也可能向前向后版本都会兼容。请多多尝试!

使用方法:

--help     或 -h 来显示此消息.
--loginurl 或 -l 来指定 login_url.
--action   或 -a 来指定操作.
         info   来显示当前登录账户信息.
         logout 来退出当前登录.
         login  来使用指定信息登录.
--username 或 -u 来指定登录用户名.
--password 或 -p 来指定登录密码.

使用示例:

'-a login [-u username [ -p password]]'    来使用指定信息登录.
'-a logout -l 10.10.0.166'                 来使用指定的 login_url 退出当前登录.
'<empty>'                                  来显示当前登录账户信息.

Srun LZU Network Auth

Python Dependencies

Programme

Tool for CLI login, logout, check acccount info for LZU 'SRun CGI Auth Intf Svr V1.18' using Python.

Currently, SRun CGI Auth Intf Svr V1.18 B20200522 is supported. The programme may not be limited to Lanzhou University (of course, you should specify loginurl), may also be compatible with both newer and older versions. Please give it a try!

Usage:

--help     or -h to show this info.
--loginurl or -l to specify login_url.
--action   or -a to specify action.
         info   to show current loggin infomation.
         logout to logout current account.
         login  to login with specified information.
--username or -u to specify User Name.
--password or -p to specify Password.

Examples:

'-a login [-u username [ -p password]]'    to login with specified information.
'-a logout -l 10.10.0.166'                 to logout current account with specified login_url.
'<empty>'                                  to show current loggin infomation.

About

Tool for CLI login, logout, check acccount info for LZU 'SRun CGI Auth Intf Svr V1.18'(兰大深澜网络认证CLI登录、注销、查询信息客户端)

License:GNU General Public License v3.0


Languages

Language:Python 100.0%