https://github.com/palmcivet/srun-auth
🔨 登录 Srun 无线网的命令行工具
https://github.com/palmcivet/srun-auth
srun srun-login
Last synced: 3 months ago
JSON representation
🔨 登录 Srun 无线网的命令行工具
- Host: GitHub
- URL: https://github.com/palmcivet/srun-auth
- Owner: palmcivet
- License: mit
- Created: 2020-05-21T10:59:34.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T02:16:56.000Z (about 5 years ago)
- Last Synced: 2025-01-16T14:47:53.966Z (5 months ago)
- Topics: srun, srun-login
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Srun-auth

针对 [深澜(Srun)](https://srun.com/) 认证系统的命令行工具。
采用 Bash 编写,依赖于以下系统命令:
- base64
- curl
- ip / ifconfig常见 Linux 发行版均携带。
使用终端登录校园网/局域网,适用于服务器、树莓派等无 GUI 场景下的联网登录。
## 安装
下载 `srun-auth.sh` 并赋予权限即可使用:
```bash
$ curl -# -O https://raw.githubusercontent.com/Palmcivet/srun-auth/master/srun-auth.sh
$ chmod 755 srun-auth.sh
```## 用法
```bash
$ ./srun-auth.sh -u myName -p myPass 10.4.20.128
```使用 `-h` 获取帮助。