{"id":19216429,"url":"https://github.com/bigbugcc/srunlogin","last_synced_at":"2025-08-24T12:41:15.300Z","repository":{"id":106951837,"uuid":"468705508","full_name":"bigbugcc/SrunLogin","owner":"bigbugcc","description":"云南师范大学校园网认证","archived":false,"fork":false,"pushed_at":"2024-10-27T15:59:45.000Z","size":10100,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T23:35:06.581Z","etag":null,"topics":["ynnu"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigbugcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-11T10:27:47.000Z","updated_at":"2025-03-06T10:55:47.000Z","dependencies_parsed_at":"2025-04-20T19:46:12.443Z","dependency_job_id":null,"html_url":"https://github.com/bigbugcc/SrunLogin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bigbugcc/SrunLogin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbugcc%2FSrunLogin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbugcc%2FSrunLogin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbugcc%2FSrunLogin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbugcc%2FSrunLogin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigbugcc","download_url":"https://codeload.github.com/bigbugcc/SrunLogin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbugcc%2FSrunLogin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265451469,"owners_count":23767769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ynnu"],"created_at":"2024-11-09T14:16:58.848Z","updated_at":"2025-07-15T18:33:40.489Z","avatar_url":"https://github.com/bigbugcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SrunLogin-云师大版\n\n[![stars](https://img.shields.io/github/stars/bigbugcc/SrunLogin?style=flat-square)](https://github.com/bigbugcc/SrunLogin/stargazers)[![stars](https://img.shields.io/github/forks/bigbugcc/SrunLogin)](https://github.com/bigbugcc/SrunLogin/network/members)\n\n[![issues](https://img.shields.io/github/issues/bigbugcc/SrunLogin?style=flat-square)](https://github.com/bigbugcc/SrunLogin/issues)\n\n[![Lisense](https://img.shields.io/github/license/bigbugcc/SrunLogin?style=flat-square)](https://github.com/bigbugcc/SrunLogin/blob/main/LICENSE)\n\n[![Release](https://img.shields.io/github/v/release/bigbugcc/SrunLogin?color=blueviolet\u0026include_prereleases\u0026style=flat-square)](https://github.com/bigbugcc/SrunLogin/releases)\n\n## 🎨声明\n\n​\t\t作者不鼓励任何违规违纪行为，秉持着互联网的`开放`、`平等`、`共享`原则，此项目只为方便有这样需求的用户，支持在`Linux`、`Windows`、`Macos`、`Router`上使用校园网提供的便捷服务，在享受便捷服务的同时请遵守相关法律法规，一切后果自负。重申：不鼓励任何违规违纪行为！！！\n\n\n\n## 📌使用\n\n**配置文件参数说明**(必看)：\n\n除上网账号密码外其它参数建议保持默认即可。\n\n```yaml\nform:\n  domain: netlogin.ynnu.edu.cn\n  username: \"191230320xxxxxx\"    #学号\n  password: \"xxxxxxx\"\t\t\t #密码\n\n# 基础认证参数(保持默认就可)\nmeta: \n  \"n\": \"200\"\n  type: \"1\"\n  acid: \"1\"\n  enc: srun_bx1\nsettings:\n  basic:\n    https: true\t\t# 访问协议\n    skip_cert_verify: false\n    timeout: 5\n    interfaces: \"\"\n    skip_net_check: false\n    net_check_url: https://www.baidu.com/\n  guardian: \t\t# 守护模式\n    enable: false\n    duration: 300\n  daemon:\t\t\t# 后台模式\n    enable: false\n    path: .srun\n  debug:\t\t\t# 日志信息\n    enable: false\n    write_log: false\n    log_path: ./\n```\n\n[下载可执行程序](https://github.com/bigbugcc/SrunLogin/releases)\n\n**Linux(amd64)：**\n\n```shell\nchmod +x ./SrunLogin\n\n# 首次执行会自动生成配置文件config.yaml\n./SrunLogin\n\n# 指定配置文件\n./SrunLogin --config=./config.yaml\n```\n\n**Windows(amd64)**:\n\n```powershell\n# 建议使用powershell\n./SrunLogin\n\n# 指定配置文件\n./SrunLogin --config=./config.yaml\n```\n\n在此抛砖引玉，运行其他系统以及架构的操作步骤类似。\n\n## ⏰注意\n\n在无线路由器上运行请找到适合自己路由器架构`mips64/mips`的二进制文件上传到路由器即可。\n\n## :hammer_and_wrench:构建\n\n**Windows环境编译(golang=1.17)：**\n\n```shell\n# windows版本\ngo build main.go\n```\n\n交叉编译：\n\n```shell\n# linux-amd64\nCGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go\n\n# darwin-amd64\nCGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build main.go\n\n# linux-mips\nCGO_ENABLED=0 GOOS=linux GOARCH=mips go build main.go\n```\n\n## 🎉鸣谢\n\n\u003e 项目参考：https://github.com/Mmx233/BitSrunLoginGo\n\n\u003e 登录算法： https://github.com/coffeehat/BIT-srun-login-script\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbugcc%2Fsrunlogin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigbugcc%2Fsrunlogin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbugcc%2Fsrunlogin/lists"}