mirror of
				https://github.com/oneclickvirt/ecs.git
				synced 2025-10-31 19:03:00 +08:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 57e87348d4 | ||
|   | d40bf5a195 | ||
|   | 753738931d | ||
|   | a702c5416a | ||
| ![github-actions[bot]](/assets/img/avatar_default.png)  | a587d71348 | 
| @@ -269,7 +269,7 @@ AMD的7950x单核满血性能得分在6500左右,AMD的5950x单核满血性能 | ||||
|  | ||||
| | 使用类型        | 说明         | | ||||
| | ----------- | ---------- | | ||||
| | hosting     | 主机/服务器用途(IDC)    | | ||||
| | hosting     | 数据中心网络(IDC)    | | ||||
| | residential | 家庭/住宅网络(家宽)    | | ||||
| | FixedLineISP,ISP | 固定线路互联网服务提供商(家宽) | | ||||
| | business    | 企业办公网络(商宽)      | | ||||
| @@ -277,9 +277,7 @@ AMD的7950x单核满血性能得分在6500左右,AMD的5950x单核满血性能 | ||||
| | education   | 教育机构网络(教育网)     | | ||||
| | government  | 政府机构网络(政府网)     | | ||||
| | military    | 军事网络(政府网)       | | ||||
| | DataCenter  | 数据中心网络(IDC)      | | ||||
| | WebHosting  | 网站托管服务(IDC)      | | ||||
| | Transit     | 互联网中继/传输网络(IDC)  | | ||||
| | DataCenter/WebHosting/Transit  | 数据中心网络(IDC)      | | ||||
| | CDN         | 内容分发网络(IDC)      | | ||||
|  | ||||
| | 公司类型         | 说明           | | ||||
| @@ -290,7 +288,7 @@ AMD的7950x单核满血性能得分在6500左右,AMD的5950x单核满血性能 | ||||
| | education    | 教育机构(教育网)         | | ||||
| | government   | 政府机构(政府网)         | | ||||
|  | ||||
| 其他安全信息字段: | ||||
| 以上类型说明为原始查询信息的类型,实际显示的时候已自动分流去重合并类型为统一含义,其他安全信息字段: | ||||
|  | ||||
| | 字段类别 | 字段名称 | 字段说明 | 可能的值 | 评分规则 | | ||||
| |---------|---------|---------|---------|---------| | ||||
| @@ -649,7 +647,7 @@ Generally speaking, checking the usage type, company type, and security informat | ||||
|  | ||||
| | Usage Type        | Description         | | ||||
| | ----------- | ---------- | | ||||
| | hosting     | Host/Server usage (IDC)    | | ||||
| | hosting     | Data center network (IDC)      | | ||||
| | residential | Home/Residential network (Home broadband)    | | ||||
| | FixedLineISP, ISP | Fixed-line Internet Service Provider (Home broadband) | | ||||
| | business    | Enterprise office network (Business broadband)      | | ||||
| @@ -657,9 +655,7 @@ Generally speaking, checking the usage type, company type, and security informat | ||||
| | education   | Educational institution network (Education network)     | | ||||
| | government  | Government institution network (Government network)     | | ||||
| | military    | Military network (Government network)       | | ||||
| | DataCenter  | Data center network (IDC)      | | ||||
| | WebHosting  | Web hosting service (IDC)      | | ||||
| | Transit     | Internet transit/transport network (IDC)  | | ||||
| | DataCenter/WebHosting/Transit  | Data center network (IDC)      | | ||||
| | CDN         | Content Delivery Network (IDC)      | | ||||
|  | ||||
| | Company Type         | Description           | | ||||
| @@ -670,7 +666,7 @@ Generally speaking, checking the usage type, company type, and security informat | ||||
| | education    | Educational institution (Education network)         | | ||||
| | government   | Government institution (Government network)         | | ||||
|  | ||||
| Other security information fields: | ||||
| The above type descriptions represent the original query information types. During actual display, they have been automatically filtered, deduplicated, and merged into types with consistent meanings. Other security information fields: | ||||
|  | ||||
| | Field Category | Field Name | Field Description | Possible Values | Scoring Rules | | ||||
| |---------|---------|---------|---------|---------| | ||||
| @@ -975,7 +971,7 @@ IP品質によるアクセス制限に敏感なのは、実際には主要なAI | ||||
|  | ||||
| | 使用タイプ        | 説明         | | ||||
| | ----------- | ---------- | | ||||
| | hosting     | ホスト/サーバー用途(IDC)    | | ||||
| | hosting     | データセンターネットワーク(IDC)   | | ||||
| | residential | 家庭/住宅ネットワーク(家庭用回線)    | | ||||
| | FixedLineISP、ISP | 固定回線インターネットサービスプロバイダー(家庭用回線) | | ||||
| | business    | 企業オフィスネットワーク(ビジネス回線)      | | ||||
| @@ -983,9 +979,7 @@ IP品質によるアクセス制限に敏感なのは、実際には主要なAI | ||||
| | education   | 教育機関ネットワーク(教育ネットワーク)     | | ||||
| | government  | 政府機関ネットワーク(政府ネットワーク)     | | ||||
| | military    | 軍事ネットワーク(政府ネットワーク)       | | ||||
| | DataCenter  | データセンターネットワーク(IDC)      | | ||||
| | WebHosting  | Webホスティングサービス(IDC)      | | ||||
| | Transit     | インターネット中継/転送ネットワーク(IDC)  | | ||||
| | DataCenter/WebHosting/Transit  | データセンターネットワーク(IDC)      | | ||||
| | CDN         | コンテンツ配信ネットワーク(IDC)      | | ||||
|  | ||||
| | 会社タイプ         | 説明           | | ||||
| @@ -996,7 +990,7 @@ IP品質によるアクセス制限に敏感なのは、実際には主要なAI | ||||
| | education    | 教育機関(教育ネットワーク)         | | ||||
| | government   | 政府機関(政府ネットワーク)         | | ||||
|  | ||||
| その他のセキュリティ情報フィールド: | ||||
| 上記のタイプ説明は元のクエリ情報のタイプであり、実際の表示時には自動的に重複排除・統合され、タイプは統一された意味にまとめられています。その他のセキュリティ情報フィールド: | ||||
|  | ||||
| | フィールドカテゴリ | フィールド名 | フィールド説明 | 可能な値 | 評価ルール | | ||||
| |---------|---------|---------|---------|---------| | ||||
|   | ||||
							
								
								
									
										6
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								go.mod
									
									
									
									
									
								
							| @@ -5,9 +5,9 @@ go 1.24.5 | ||||
| require ( | ||||
| 	github.com/imroc/req/v3 v3.54.0 | ||||
| 	github.com/oneclickvirt/CommonMediaTests v0.0.4-20250329123841 | ||||
| 	github.com/oneclickvirt/UnlockTests v0.0.28-20250924054500 | ||||
| 	github.com/oneclickvirt/UnlockTests v0.0.29-20251030094944 | ||||
| 	github.com/oneclickvirt/backtrace v0.0.7-20250811023541 | ||||
| 	github.com/oneclickvirt/basics v0.0.15-20250812130523 | ||||
| 	github.com/oneclickvirt/basics v0.0.16-20251030093657 | ||||
| 	github.com/oneclickvirt/cputest v0.0.12-20250720122317 | ||||
| 	github.com/oneclickvirt/defaultset v0.0.2-20240624082446 | ||||
| 	github.com/oneclickvirt/disktest v0.0.10-20250924030424 | ||||
| @@ -16,7 +16,7 @@ require ( | ||||
| 	github.com/oneclickvirt/nt3 v0.0.8-20250811123903 | ||||
| 	github.com/oneclickvirt/pingtest v0.0.8-20250728015259 | ||||
| 	github.com/oneclickvirt/portchecker v0.0.3-20250728015900 | ||||
| 	github.com/oneclickvirt/security v0.0.6-20251028123803 | ||||
| 	github.com/oneclickvirt/security v0.0.7-20251030094114 | ||||
| 	github.com/oneclickvirt/speedtest v0.0.10-20250728015734 | ||||
| ) | ||||
|  | ||||
|   | ||||
							
								
								
									
										12
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								go.sum
									
									
									
									
									
								
							| @@ -96,12 +96,12 @@ github.com/nxtrace/NTrace-core v1.4.2 h1:dSRP18Bn3VGf5CZBzKt8gQWW9mDkq62Np9TCF9R | ||||
| github.com/nxtrace/NTrace-core v1.4.2/go.mod h1:wIDOlccuYzY3wBqU89pv2KGHT41i3JA0eRqJU/x9eX4= | ||||
| github.com/oneclickvirt/CommonMediaTests v0.0.4-20250329123841 h1:Zef93z9UiZQwRAKnnZYALmpBKvvuVaq34MEsuWwk6nc= | ||||
| github.com/oneclickvirt/CommonMediaTests v0.0.4-20250329123841/go.mod h1:DAmFPRjFV5p9fEzUUSml5jJGn2f1NZJQCzTxITHDjc4= | ||||
| github.com/oneclickvirt/UnlockTests v0.0.28-20250924054500 h1:ERFoRBYhTPWJBYhEVFWr3hm6KtSTUHuWD21jK7DhKZw= | ||||
| github.com/oneclickvirt/UnlockTests v0.0.28-20250924054500/go.mod h1:oOa6wj/qECtRMxwBO6D7o0L0F0Q/5sQ747OCnFQqoGE= | ||||
| github.com/oneclickvirt/UnlockTests v0.0.29-20251030094944 h1:c81MmwD3yO/7kkKN+j88VfBuRQcr3zKp0wGTu1zjUug= | ||||
| github.com/oneclickvirt/UnlockTests v0.0.29-20251030094944/go.mod h1:oOa6wj/qECtRMxwBO6D7o0L0F0Q/5sQ747OCnFQqoGE= | ||||
| github.com/oneclickvirt/backtrace v0.0.7-20250811023541 h1:GzkzvUC6U9b6Dkz/Bl4JRPeQ7XBGoW7Qw1aWqzhF+MQ= | ||||
| github.com/oneclickvirt/backtrace v0.0.7-20250811023541/go.mod h1:/+KUtOWz48TyiTTbhVTsp3D6b5WY+4pCgvFBYtUGtns= | ||||
| github.com/oneclickvirt/basics v0.0.15-20250812130523 h1:nPNTVq8d9N1rdshkMAbnhZxTb7L2Yt7NlIg6rY10YRQ= | ||||
| github.com/oneclickvirt/basics v0.0.15-20250812130523/go.mod h1:2PV+1ge01zb0Sqzj2V2I7P0wAdFSLF1XgAiumchJJbg= | ||||
| github.com/oneclickvirt/basics v0.0.16-20251030093657 h1:6SWWILNjJfMTXbspqYRpktUEOe/QIVhGonKO8ODC7n4= | ||||
| github.com/oneclickvirt/basics v0.0.16-20251030093657/go.mod h1:2PV+1ge01zb0Sqzj2V2I7P0wAdFSLF1XgAiumchJJbg= | ||||
| github.com/oneclickvirt/cputest v0.0.12-20250720122317 h1:toiwAK1hZE5b8klu2mOQ7J4sv5yV9lpPKwgPahfRYBQ= | ||||
| github.com/oneclickvirt/cputest v0.0.12-20250720122317/go.mod h1:vjlH8tkPFft1tlLOpeNskXVvurxkHaJ3+dgFxQGLXY4= | ||||
| github.com/oneclickvirt/dd v0.0.2-20250808062818 h1:0KHrKkdpL5oBE1OHsrRd2siRw4/2k6f9LBaP7T4JpOc= | ||||
| @@ -124,8 +124,8 @@ github.com/oneclickvirt/pingtest v0.0.8-20250728015259 h1:egoxZRZBOWN3JqBwqEsULD | ||||
| github.com/oneclickvirt/pingtest v0.0.8-20250728015259/go.mod h1:gxwsxxwitNQiGq2OI0ZogYoOLwc8DtuOdSRe6/EvRqs= | ||||
| github.com/oneclickvirt/portchecker v0.0.3-20250728015900 h1:AomzdppSOFB70AJESQhlp0IPbsHTTJGimAWDk2TzCWM= | ||||
| github.com/oneclickvirt/portchecker v0.0.3-20250728015900/go.mod h1:9sjMDPCd4Z40wkYB0S9gQPGH8YPtnNE1ZJthVIuHUzA= | ||||
| github.com/oneclickvirt/security v0.0.6-20251028123803 h1:iOjLqpyzOR2QDrA7ei00upv1uWGEbf1dH4mRa2xlWIg= | ||||
| github.com/oneclickvirt/security v0.0.6-20251028123803/go.mod h1:RSMooIlb4H/kLrGWNvUyOgdzQKgYKVv+LzWGlsPsLW4= | ||||
| github.com/oneclickvirt/security v0.0.7-20251030094114 h1:Ax8J1TYqprXyiWNAIJJ3xhoyGhvBlKw4m9j6va5Q2nM= | ||||
| github.com/oneclickvirt/security v0.0.7-20251030094114/go.mod h1:YfDilPFW22szjdUNgv4VOuSwHnZzsFsdPOfRYiMoc3I= | ||||
| github.com/oneclickvirt/speedtest v0.0.10-20250728015734 h1:HKO7/JQ74ueXA8Wo8NIvcK9DphbEG/YTfAAVz/akSiY= | ||||
| github.com/oneclickvirt/speedtest v0.0.10-20250728015734/go.mod h1:0W8vnMbA3iucXLXFdGfe9Ia6RPS0izRO7jvu/SnH1P8= | ||||
| github.com/oneclickvirt/stream v0.0.2-20250924154001 h1:GuJWdiPkoK84+y/+oHKr2Ghl3c/MzS9Z5m1nM+lMmy4= | ||||
|   | ||||
							
								
								
									
										2
									
								
								goecs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								goecs.go
									
									
									
									
									
								
							| @@ -39,7 +39,7 @@ import ( | ||||
| ) | ||||
|  | ||||
| var ( | ||||
| 	ecsVersion                                                        = "v0.1.90" | ||||
| 	ecsVersion                                                        = "v0.1.91" | ||||
| 	menuMode                                                          bool | ||||
| 	onlyChinaTest                                                     bool | ||||
| 	input, choice                                                     string | ||||
|   | ||||
							
								
								
									
										6
									
								
								goecs.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								goecs.sh
									
									
									
									
									
								
							| @@ -152,7 +152,7 @@ goecs_check() { | ||||
|     os=$(uname -s 2>/dev/null || echo "Unknown") | ||||
|     arch=$(uname -m 2>/dev/null || echo "Unknown") | ||||
|     check_china | ||||
|     ECS_VERSION="0.1.89" | ||||
|     ECS_VERSION="0.1.90" | ||||
|     for api in \ | ||||
|         "https://api.github.com/repos/oneclickvirt/ecs/releases/latest" \ | ||||
|         "https://githubapi.spiritlhl.workers.dev/repos/oneclickvirt/ecs/releases/latest" \ | ||||
| @@ -164,8 +164,8 @@ goecs_check() { | ||||
|         sleep 1 | ||||
|     done | ||||
|     if [ -z "$ECS_VERSION" ]; then | ||||
|         _yellow "Unable to get version info, using default version 0.1.89" | ||||
|         ECS_VERSION="0.1.89" | ||||
|         _yellow "Unable to get version info, using default version 0.1.90" | ||||
|         ECS_VERSION="0.1.90" | ||||
|     fi | ||||
|     version_output="" | ||||
|     for cmd_path in "goecs" "./goecs" "/usr/bin/goecs" "/usr/local/bin/goecs"; do | ||||
|   | ||||
		Reference in New Issue
	
	Block a user