自动认证中南大学校园网并保持登录态。
配置项:学号、密码、运营商。
curl -fsSL https://ssuu.us/csunet/sh/install.sh | shcurl -fsSL https://ssuu.us/csunet/sh/uninstall.sh | sh- macOS / Linux 下会创建:
~/.local/bin/csu-net-auth~/.config/csu-net-auth/config.conf~/.local/share/csu-net-auth/csu-net-auth.log
- Linux 下会额外创建:
~/.config/systemd/user/csu-net-auth.service
- macOS 下会额外创建:
~/Library/LaunchAgents/com.barkure.csu-net-auth.plist
- OpenWrt 下会创建:
/usr/bin/csu-net-auth.sh/etc/init.d/csu-net-auth/etc/config/csu-net-auth/var/log/csu-net-auth.log
powershell -ExecutionPolicy ByPass -c "irm https://ssuu.us/csunet/pwsh/install.ps1 | iex"powershell -ExecutionPolicy ByPass -c "irm https://ssuu.us/csunet/pwsh/uninstall.ps1 | iex"- 安装为 Windows 服务
csu-net-auth,开机自启,异常退出自动重启,依赖 Windows 10 1803+ 自带的curl.exe - 该脚本会自动创建:
$HOME\.local\bin\csu-net-auth.ps1$HOME\.config\csu-net-auth\config.ps1$HOME\.local\share\csu-net-auth\csu-net-auth.log$HOME\.local\bin\csu-net-auth.exe$HOME\.local\bin\csu-net-auth.xml