{"id":18450684,"url":"https://github.com/l-codes/cmcckeepconn","last_synced_at":"2026-03-01T01:01:10.809Z","repository":{"id":113440029,"uuid":"95182235","full_name":"L-codes/CmccKeepConn","owner":"L-codes","description":"a CMCC-FREE automatic connection tool","archived":false,"fork":false,"pushed_at":"2020-01-15T03:43:46.000Z","size":29,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T01:35:06.148Z","etag":null,"topics":["auto","cmcc","cmcc-free","connect"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/L-codes.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}},"created_at":"2017-06-23T04:12:07.000Z","updated_at":"2024-08-12T19:30:49.000Z","dependencies_parsed_at":"2023-03-13T13:19:23.181Z","dependency_job_id":null,"html_url":"https://github.com/L-codes/CmccKeepConn","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/L-codes/CmccKeepConn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-codes%2FCmccKeepConn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-codes%2FCmccKeepConn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-codes%2FCmccKeepConn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-codes%2FCmccKeepConn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/L-codes","download_url":"https://codeload.github.com/L-codes/CmccKeepConn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/L-codes%2FCmccKeepConn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29957128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["auto","cmcc","cmcc-free","connect"],"created_at":"2024-11-06T07:26:07.918Z","updated_at":"2026-03-01T01:01:10.796Z","avatar_url":"https://github.com/L-codes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 0x00 CmccKeepConn\ncmccKeepConn 是一个可以在CMCC-FREE WIFI上自动认证的工具，区别于其它的自动认证脚本不管认证状态，只要启动脚本就不会断开认证，具有添加IP的功能，可以使你的手机或者多个设备的认证在一台主机上实现\n\nv2.0版本，使用Ruby对原[v1.x版本](https://github.com/L-codes/CmccKeepConn/releases/tag/v1.x)重构，使用多线程控制和友好的CUI界面\n\n项目地址：[https://github.com/L-codes/cmccKeepConn](https://github.com/L-codes/cmccKeepConn)\n\n# 0x01 Features\n- 兼容windows/linux/osx等平台\n- 支持自动检测网络状态，无需重启脚本\n- 支持各地CMCC-FREE自动认证\n- 支持系统进入睡眠打开后保持连接\n- 支持添加多个IP进行认证，并且对其IP池进行管理\n- 遇到网络不稳定等因素，无需重启脚本等待断网进行再次初始化(使用renew命令)\n\n# 0x03 Use examples\n```\n$ ruby cmccKeepConn.rb\n\n  ____                    _  __                ____\n / ___|_ __ ___   ___ ___| |/ /___  ___ _ __  / ___|___  _ __  _ __\n| |   | '_ ` _ \\ / __/ __| ' // _ \\/ _ \\ '_ \\| |   / _ \\| '_ \\| '_ \\\n| |___| | | | | | (_| (__| . \\  __/  __/ |_) | |__| (_) | | | | | | |\n \\____|_| |_| |_|\\___\\___|_|\\_\\___|\\___| .__/ \\____\\___/|_| |_|_| |_|\n                                       |_|\n               [ Author L       Version 2.0.1 ]\n\n [ Github ] https://github.com/L-codes/cmccKeepConn\n\n [+] auto keep connect ...\n [+] Initialize Successful\n\n-\u003e ?\n help(?)\n ========\n list                List IPs info\n add ip1,ip2...      Add IPs\n del idx1, idx2...   Deletes the IP at the specified index\n clear               Clear all IPs\n save                Save all IPs to file\n renew MIN           Renew request. (interval: 50 min)\n exit/quit           Exit the program\n\n-\u003e add 10.177.25.55\n [+] Add IP: 10.177.25.55, Phone: 13539465216\n\n-\u003e add 10.177.25.56 10.177.25.4\n [+] Add IP: 10.177.25.56, Phone: 13517533844\n [+] Add IP: 10.177.25.4, Phone: 13509925580\n\n-\u003e list\n [0] Phone: 13565911967, IP: 10.177.25.192\n [1] Phone: 13539465216, IP: 10.177.25.55\n [2] Phone: 13517533844, IP: 10.177.25.56\n [3] Phone: 13509925580, IP: 10.177.25.4\n\n-\u003e del 0 2\n [-] Delete IP: 10.177.25.192, Phone: 13565911967\n [-] Delete IP: 10.177.25.56, Phone: 13517533844\n\n-\u003e list\n [0] Phone: 13539465216, IP: 10.177.25.55\n [1] Phone: 13509925580, IP: 10.177.25.4\n```\n\n# 0x04 Preload IP list file -- cmccfreeip.txt\n\n## Method 1\n```\n$ cat \u003c\u003c EOF \u003e cmccfreeip.txt\n10.177.30.145\n10.177.23.12\nEOF\n\n$ ruby cmccKeepConn.rb\n\n  ____                    _  __                ____\n / ___|_ __ ___   ___ ___| |/ /___  ___ _ __  / ___|___  _ __  _ __\n| |   | '_ ` _ \\ / __/ __| ' // _ \\/ _ \\ '_ \\| |   / _ \\| '_ \\| '_ \\\n| |___| | | | | | (_| (__| . \\  __/  __/ |_) | |__| (_) | | | | | | |\n \\____|_| |_| |_|\\___\\___|_|\\_\\___|\\___| .__/ \\____\\___/|_| |_|_| |_|\n                                       |_|\n               [ Author L       Version 2.0.1 ]\n\n [ Github ] https://github.com/L-codes/cmccKeepConn\n\n [+] auto keep connect ...\n [+] Initialize Successful\n\n-\u003e list\n [0] Phone: 13565911967, IP: 10.177.30.145\n [1] Phone: 13539465216, IP: 10.177.23.12\n```\n\n## Method 2\n```\n$ ruby cmccKeepConn.rb\n\n  ____                    _  __                ____\n / ___|_ __ ___   ___ ___| |/ /___  ___ _ __  / ___|___  _ __  _ __\n| |   | '_ ` _ \\ / __/ __| ' // _ \\/ _ \\ '_ \\| |   / _ \\| '_ \\| '_ \\\n| |___| | | | | | (_| (__| . \\  __/  __/ |_) | |__| (_) | | | | | | |\n \\____|_| |_| |_|\\___\\___|_|\\_\\___|\\___| .__/ \\____\\___/|_| |_|_| |_|\n                                       |_|\n               [ Author L       Version 2.0.1 ]\n\n [ Github ] https://github.com/L-codes/cmccKeepConn\n\n [+] auto keep connect ...\n [+] Initialize Successful\n\n-\u003e list\n [0] Phone: 13565911967, IP: 10.177.30.145\n [1] Phone: 13539465216, IP: 10.177.23.12\n\n-\u003e save\n [+] Save 2 IPs to the 'cmccfreeip.txt'\n```\n\n# 0x05 Problem\n如在使用过程中发现bug或有好的建议，欢迎提交[Issues](https://github.com/L-codes/cmccKeepConn/issues)和[Pull Requests](https://github.com/L-codes/cmccKeepConn/pulls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-codes%2Fcmcckeepconn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl-codes%2Fcmcckeepconn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-codes%2Fcmcckeepconn/lists"}