Compare commits

...

3 Commits

Author SHA1 Message Date
GitHub Actions
d87b2db27d Auto update public version (no security package) 2025-09-15 14:34:31 +00:00
github-actions[bot]
7bd2b59d58 chore: update ECS_VERSION to 0.1.87 in goecs.sh 2025-09-15 14:23:34 +00:00
spiritlhl
cc1da7ea7c fix:修复失效链接 2025-09-15 14:09:17 +00:00
7 changed files with 123 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
package network1
import "github.com/oneclickvirt/security/network"
import "github.com/oneclickvirt/basics/network"
// 本包在main中不使用
func NetworkCheck(checkType string, enableSecurityCheck bool, language string) (string, string, error) {

1
go.mod
View File

@@ -16,7 +16,6 @@ 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-20250823030124
github.com/oneclickvirt/speedtest v0.0.10-20250728015734
)

2
go.sum
View File

@@ -124,8 +124,6 @@ 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-20250823030124 h1:3RjpJNfKV7anN6GJs0ky2BfXFHPUVrDxUomEqoB0x7I=
github.com/oneclickvirt/security v0.0.6-20250823030124/go.mod h1:RSMooIlb4H/kLrGWNvUyOgdzQKgYKVv+LzWGlsPsLW4=
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/oschwald/maxminddb-golang v1.13.1 h1:G3wwjdN9JmIK2o/ermkHM+98oX5fS+k5MbwsmL4MRQE=

View File

@@ -39,7 +39,7 @@ import (
)
var (
ecsVersion = "v0.1.86"
ecsVersion = "v0.1.87"
menuMode bool
onlyChinaTest bool
input, choice string

View File

@@ -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.86"
ECS_VERSION="0.1.87"
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.86"
ECS_VERSION="0.1.86"
_yellow "Unable to get version info, using default version 0.1.87"
ECS_VERSION="0.1.87"
fi
version_output=""
for cmd_path in "goecs" "./goecs" "/usr/bin/goecs" "/usr/local/bin/goecs"; do

112
goecs.txt Normal file
View File

@@ -0,0 +1,112 @@
-----------------------VPS Fusion Monster Test (Unofficial)-----------------------
Version: v0.1.87
Review Channel: https://t.me/+UHVoo2U4VyA5NTQ1
Go Project: https://github.com/oneclickvirt/ecs
Shell Project: https://github.com/spiritLHLS/ecs
-----------------------------System-Basic-Information-----------------------------
CPU Model : AMD EPYC 7763 64-Core Processor @ 2764.953 MHz
CPU Cores : 4 Physical CPU(s)
CPU Cache : L1: 128 KB / L2: 1 MB / L3: 32 MB
AES-NI : ✔️ Enabled
VM-x/AMD-V/Hyper-V : ✔️ Enabled
RAM : 916.41 MB / 15.62 GB
Virtio Balloon : ❌ Undetected
KSM : ❌ Undetected
Swap : 0.00 MB / 4.00 GB
Disk 1 : 4.00 GB / 73.27 GB [5.5%%] /dev/sda1 - /mnt
Disk 2 : 47.20 GB / 71.61 GB [65.9%%] /dev/sdb1 - /
Boot Path : /dev/sdb1
OS Release : ubuntu 24.04 [x86_64]
Kernel : 6.11.0-1018-azure
Uptime : 0 days, 00 hours, 03 minutes
Current Time Zone : UTC
Load : 3.27 / 0.95 / 0.32
VM Type : Microsoft Hyper-V
NAT Type : Port Restricted Cone
Tcp Accelerate : cubic
IPV4 ASN : AS8075 Microsoft Limited
IPV4 Location : Chicago / Illinois / US
IPV4 Active IPs : 10260/65536 (prefix /16)
----------------------------CPU-Test--sysbench-Method-----------------------------
1 Thread(s) Test: 3372.82
4 Thread(s) Test: 7613.60
Current system detected no root permission
---------------------------Memory-Test--sysbench-Method---------------------------
Memory Copy Speed (MEMCPY) : 17154.15 MB/s
Memory Copy Speed (DUMB) : 10484.86 MB/s
Memory Copy Speed (MCBLOCK) : 13003.74 MB/s
------------------------------Disk-Test--fio-Method-------------------------------
Test Path Block Read(IOPS) Write(IOPS) Total(IOPS)
/tmp 4k 39.11 MB/s(9777) 39.19 MB/s(9798) 78.30 MB/s(19.6k)
/tmp 64k 206.34 MB/s(3224) 207.42 MB/s(3240) 413.76 MB/s(6464)
/tmp 512k 202.75 MB/s(395) 213.52 MB/s(417) 416.27 MB/s(812)
/tmp 1m 201.21 MB/s(196) 214.61 MB/s(209) 415.81 MB/s(405)
-----------------------Cross-Border-Streaming-Media-Unlock------------------------
IPV4:
===============[ Global ]===============
Apple YES (Region: USA) [Native]
BingSearch YES (Region: US)
Claude YES [Native]
Dazn YES (Region: US) [Native]
Disney+ NO (forbidden-location)
Gemini YES (Region: US) [Native]
GoogleSearch YES
Google Play Store YES (Region: US) [Native]
IQiYi YES (Region: US) [Native]
Instagram Licensed Audio YES [Native]
KOCOWA YES [Native]
MetaAI YES (Region: US) [Native]
Netflix YES (Region: US) [Native]
Netflix CDN CO
OneTrust YES (Region: US ILLINOIS) [Via DNS]
ChatGPT YES (Region: US) [Native]
Paramount+ YES [Native]
Amazon Prime Video YES (Region: US) [Native]
Reddit NO
SonyLiv YES (Region: IN) [Via DNS]
Sora YES (Region: US)
Spotify Registration NO
Steam Store YES (Community Available) (Region: US)
TVBAnywhere+ YES (Region: US) [Native]
TikTok YES (Region: US) [Native]
Viu.com YES [Native]
Wikipedia Editability NO
YouTube Region YES (Region: US) [Native]
YouTube CDN ORD
---------------------------------Email-Port-Check---------------------------------
Platform SMTP SMTPS POP3 POP3S IMAP IMAPS
LocalPort ✘ ✘ ✘ ✘ ✘ ✘
QQ ✔ ✔ ✔ ✘ ✔ ✘
163 ✔ ✔ ✔ ✘ ✔ ✘
Sohu ✔ ✔ ✔ ✘ ✔ ✘
Yandex ✔ ✔ ✔ ✘ ✔ ✘
Gmail ✔ ✔ ✘ ✘ ✘ ✘
Outlook ✔ ✘ ✔ ✘ ✔ ✘
Office365 ✔ ✘ ✔ ✘ ✔ ✘
Yahoo ✔ ✔ ✘ ✘ ✘ ✘
MailCOM ✔ ✔ ✔ ✘ ✔ ✘
MailRU ✔ ✔ ✘ ✘ ✔ ✘
AOL ✔ ✔ ✘ ✘ ✘ ✘
GMX ✔ ✔ ✔ ✘ ✔ ✘
Sina ✔ ✔ ✔ ✘ ✔ ✘
Apple ✘ ✔ ✘ ✘ ✘ ✘
FastMail ✘ ✔ ✘ ✘ ✘ ✘
ProtonMail✘ ✘ ✘ ✘ ✘ ✘
MXRoute ✔ ✘ ✔ ✘ ✔ ✘
Namecrane ✔ ✔ ✔ ✘ ✔ ✘
XYAMail ✘ ✘ ✘ ✘ ✘ ✘
ZohoMail ✘ ✔ ✘ ✘ ✘ ✘
Inbox_eu ✔ ✔ ✔ ✘ ✘ ✘
Free_fr ✘ ✔ ✔ ✘ ✔ ✘
------------------------------------Speed-Test------------------------------------
Location Upload Speed Download Speed Latency PacketLoss
Speedtest.net 9178.94 Mbps 7984.93 Mbps 1.78166ms 0.00% (Sent: 402/Dup: 0/Max: 401)
LosAngeles 260.73 Mbps 926.56 Mbps 50.405779ms N/A
Frankfurt 576.01 Mbps 769.83 Mbps 110.272491ms N/A
Tokyo,Japan 434.06 Mbps 623.07 Mbps 139.348726ms N/A
Singapore 321.98 Mbps 409.02 Mbps 195.857067ms N/A
HongKong 2.79 Mbps 1.70 Mbps 570.61666ms N/A
----------------------------------------------------------------------------------
Cost Time : 5 min 25 sec
Current Time : Mon Sep 15 14:34:31 UTC 2025
----------------------------------------------------------------------------------

View File

@@ -23,8 +23,9 @@ import (
"github.com/oneclickvirt/basics/system"
butils "github.com/oneclickvirt/basics/utils"
. "github.com/oneclickvirt/defaultset"
"github.com/oneclickvirt/security/network"
"github.com/oneclickvirt/basics/network"
)
const token = "OvwKx5qgJtf7PZgCKbtyojSU.MTcwMTUxNzY1MTgwMw"
// 获取本程序本日及总执行的统计信息
type StatsResponse struct {
@@ -54,15 +55,15 @@ func PrintCenteredTitle(title string, width int) {
// PrintHead 根据语言打印头部信息
func PrintHead(language string, width int, ecsVersion string) {
if language == "zh" {
PrintCenteredTitle("VPS融合怪测试", width)
PrintCenteredTitle("VPS融合怪测试(非官方编译)", width)
fmt.Printf("版本:%s\n", ecsVersion)
fmt.Println("测评频道: https://t.me/vps_reviews\n" +
fmt.Println("测评频道: https://t.me/+UHVoo2U4VyA5NTQ1\n" +
"Go项目地址https://github.com/oneclickvirt/ecs\n" +
"Shell项目地址https://github.com/spiritLHLS/ecs")
} else {
PrintCenteredTitle("VPS Fusion Monster Test", width)
PrintCenteredTitle("VPS Fusion Monster Test (Unofficial)", width)
fmt.Printf("Version: %s\n", ecsVersion)
fmt.Println("Review Channel: https://t.me/vps_reviews\n" +
fmt.Println("Review Channel: https://t.me/+UHVoo2U4VyA5NTQ1\n" +
"Go Project: https://github.com/oneclickvirt/ecs\n" +
"Shell Project: https://github.com/spiritLHLS/ecs")
}
@@ -250,7 +251,6 @@ func PrintAndCapture(f func(), tempOutput, output string) string {
func UploadText(absPath string) (string, string, error) {
primaryURL := "http://hpaste.spiritlhl.net/api/UL/upload"
backupURL := "https://paste.spiritlhl.net/api/UL/upload"
token := network.SecurityUploadToken
client := req.C().SetTimeout(6 * time.Second)
client.R().
SetRetryCount(2).