Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buaahub/BeihangLogin
https://github.com/buaahub/BeihangLogin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/buaahub/BeihangLogin
- Owner: buaahub
- License: gpl-3.0
- Created: 2021-11-10T07:27:57.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-25T12:06:35.000Z (almost 2 years ago)
- Last Synced: 2024-07-08T01:34:45.477Z (3 months ago)
- Language: Shell
- Size: 36.1 KB
- Stars: 31
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-buaa - GitHub - buaahub/BeihangLogin
README
# BeihangLogin
上网不涉密,涉密不上网!
北航网络认证 CURL 客户端(雾)
2019-08-28 更新:由于新版网络认证上线,旧版脚本已无法使用,是时候更换`login-v2.sh`了 :-D
## 用户名和密码的存放
请将 `account.example` 文件复制为 `account` 文件,并存放于脚本同目录,然后在其中输入你的学号和密码。## 检测并自动登录
两个 try-connect 脚本可以检测当前是否已登录,如果没有登录就自动登录。
* `try-connect.sh` 通过 ping 百度来检测登录状态
* `try-connect-v2.sh` 通过访问网关 API 来检测登录状态## Usage:
### 登录:
```./login-v2.sh login ```
### 注销:
```./login-v2.sh logout ```
-------
### Python 版隔壁BIT用的是一个版本srun
https://github.com/RogerYong/bit_srun
### Rust 版
来自Ryncohttps://github.com/01010101lzy/buaa-portal-login