适用于杭电信工校园网的自动登录Python脚本,基于深澜校园网登录认证流程。
由于信工校园网的登录过程其中的三项加密参数的加密方式有别于其他学校的深澜校园网(具体区别可以参考这一条IssueStill prompts the problem of Password Error after using md5 encryption · Issue #47),所以本脚本可能只适用于本校,如有能力可以自行适配修改。
在/data
路径下新建一个文件accounts.txt
,输入账号密码以及ac_id
,以空格分隔,格式如下:
账号 密码 ac_id
其中ac_id
以连接的网络类型决定,目前发现I-XG
无线网的ac_id
是5
,有线网的ac_id
是10