Compare commits

...

1 Commits

Author SHA1 Message Date
GitHub Actions
0ce9d94c87 Auto update public version (no security package) 2025-09-24 16:40:16 +00:00
5 changed files with 118 additions and 8 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/oneclickvirt/stream v0.0.2-20250924154001 h1:GuJWdiPkoK84+y/+oHKr2Ghl3c/MzS9Z5m1nM+lMmy4=

113
goecs.txt Normal file
View File

@@ -0,0 +1,113 @@
-----------------------VPS Fusion Monster Test (Unofficial)-----------------------
Version: v0.1.89
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 @ 3243.593 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 : 896.88 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.23 GB / 71.61 GB [66.0%%] /dev/sdb1 - /
Boot Path : /dev/sdb1
OS Release : ubuntu 24.04 [x86_64]
Kernel : 6.11.0-1018-azure
Uptime : 0 days, 00 hours, 01 minutes
Current Time Zone : UTC
Load : 3.40 / 1.04 / 0.36
VM Type : Microsoft Hyper-V
NAT Type : Port Restricted Cone
Tcp Accelerate : cubic
IPV4 ASN : AS8075 MICROSOFT-CORP-MSN-AS-BLOCK
IPV4 Location : Phoenix / Arizona / United States
IPV4 Active IPs : 31424/2097152 (prefix /11)
----------------------------CPU-Test--sysbench-Method-----------------------------
1 Thread(s) Test: 3384.91
4 Thread(s) Test: 7482.71
----------------------------Memory-Test--stream-Method----------------------------
Function Best Rate MB/s Avg time Min time Max time
Copy: 38742.0 0.004222 0.004130 0.004312
Scale: 28674.1 0.005744 0.005580 0.005969
Add: 29906.8 0.008481 0.008025 0.008803
Triad: 30317.5 0.008315 0.007916 0.008671
------------------------------Disk-Test--fio-Method-------------------------------
Test Path Block Read(IOPS) Write(IOPS) Total(IOPS)
/tmp 4k 39.16 MB/s(9790) 39.24 MB/s(9810) 78.40 MB/s(19.6k)
/tmp 64k 205.99 MB/s(3218) 207.08 MB/s(3235) 413.07 MB/s(6453)
/tmp 512k 202.25 MB/s(395) 212.99 MB/s(415) 415.24 MB/s(810)
/tmp 1m 200.65 MB/s(195) 214.01 MB/s(208) 414.66 MB/s(403)
-----------------------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 ARIZONA) [Via DNS]
ChatGPT YES (Region: US) [Native]
Paramount+ YES [Native]
Amazon Prime Video YES (Region: US) [Native]
Reddit NO
SonyLiv YES (Region: IN) [Native]
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 PHX
---------------------------------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 8236.20 Mbps 8604.96 Mbps 1.79558ms 0.00% (Sent: 402/Dup: 0/Max: 401)
LosAngeles 736.78 Mbps 876.41 Mbps 8.850929ms N/A
Tokyo,Japan 484.27 Mbps 757.20 Mbps 108.75945ms N/A
Frankfurt 413.76 Mbps 623.82 Mbps 144.130972ms N/A
Singapore 353.62 Mbps 459.36 Mbps 174.702269ms N/A
HongKong 6.31 Mbps 7.47 Mbps 186.860599ms N/A
----------------------------------------------------------------------------------
Cost Time : 5 min 14 sec
Current Time : Wed Sep 24 16:40:15 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,13 +55,13 @@ 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/+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/+UHVoo2U4VyA5NTQ1\n" +
"Go Project: https://github.com/oneclickvirt/ecs\n" +
@@ -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).