{"id":17948164,"url":"https://github.com/hez2010/sysusurf","last_synced_at":"2025-07-26T22:35:38.852Z","repository":{"id":45699237,"uuid":"371103202","full_name":"hez2010/SysuSurf","owner":"hez2010","description":"Cross-platform implementation for SYSU H3C and Ruijie Authentication","archived":false,"fork":false,"pushed_at":"2024-03-19T08:14:28.000Z","size":226,"stargazers_count":22,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T05:03:10.914Z","etag":null,"topics":["eap","h3c","network","networking","ruijie","sysu"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hez2010.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":"2021-05-26T16:36:48.000Z","updated_at":"2025-02-16T06:44:57.000Z","dependencies_parsed_at":"2024-03-18T10:29:47.520Z","dependency_job_id":"fa18ffaf-ad6d-40de-901f-23a215275934","html_url":"https://github.com/hez2010/SysuSurf","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/hez2010/SysuSurf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hez2010%2FSysuSurf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hez2010%2FSysuSurf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hez2010%2FSysuSurf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hez2010%2FSysuSurf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hez2010","download_url":"https://codeload.github.com/hez2010/SysuSurf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hez2010%2FSysuSurf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267253143,"owners_count":24060136,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["eap","h3c","network","networking","ruijie","sysu"],"created_at":"2024-10-29T09:01:58.759Z","updated_at":"2025-07-26T22:35:38.820Z","avatar_url":"https://github.com/hez2010.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SysuSurf\nCross-platform Implementation for SYSU H3C and Ruijie (WIP) Authentication.\n\n## Prerequsities\n- pcap (libpcap, NPcap, WinPcap and etc.)\n\n## Quick Start\n```bash\n./SysuSurf help\n./SysuSurf auth config.json\n```\n\n## Config Schema\n```json5\n{\n    \"Type\": 0, // 0: H3C, 1: Ruijie\n    \"UserName\": \"your netid\",\n    \"Password\": \"your password\",\n    \"DeviceName\": \"your ethernet inteface id\",\n    \"Md5Method\": 0, // H3C optional. 0: xor, 1: md5\n    \"GroupcastMode\": 0, // Ruijie optional. 0: Standard, 1: Ruijie Private, 2: Saier\n    \"DhcpMode\": 0, // Ruijie optional. 0: None, 1: Second Auth, 2: After Auth, 3: Before Auth\n}\n```\n\n## Windows Service Integration\nSysuSurf supports Windows Service Integration, you can configure it to run with Windows startup automatically.\n\nTo create the service, use below command and run it in an elevated shell:\n```bash\nsc create SysuSurf binPath= \"\u003cpath/to/SysuSurf.exe\u003e auth \u003cpath/to/config.json\u003e\"\n```\n\nTo remove the service, use below command and run it in an elevated shell:\n```bash\nsc delete SysuSurf\n```\n\n## Development Guide\n### Prerequsities\n- pcap (libpcap, NPcap, WinPcap and etc.)\n- .NET 8 SDK\n\n### Build\n```bash\ndotnet build -c Release\n# Or build with Debug mode\ndotnet build\n```\n\n### Run\n```bash\ndotnet run -c Release -- auth config.json\n# Or run with Debug mode\ndotnet run -- auth config.json\n```\n\n### Publish\n```bash\ndotnet publish -c Release -r win-x64\ndotnet publish -c Release -r osx-x64\ndotnet publish -c Release -r linux-x64\ndotnet publish -c Release -r linux-arm64\n# Available rids: win-x86, win-x64, win-arm, win-arm64, osx-x64, osx-arm64, linux-x64, linux-arm, linux-arm64, linux-musl-x64, linux-musl-arm64, ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhez2010%2Fsysusurf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhez2010%2Fsysusurf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhez2010%2Fsysusurf/lists"}