Skip to content

Latest commit

 

History

History
executable file
·
17 lines (10 loc) · 422 Bytes

README.md

File metadata and controls

executable file
·
17 lines (10 loc) · 422 Bytes

终端登陆大连理工校园网的脚本

依赖 : python3 requests re

python login.py user-id  password # 其中user-id为用户名(学号或者职工号), 密码为统一身份认证密码

autologin.py是检测断线后自动重连的脚本,可以写在crontab中定时执行

# m h  dom mon dow   command
0 * * * * python3 /pathto/autologin.py user-id password 2>>log