Auto update public version (no security package)

This commit is contained in:
GitHub Actions
2025-10-30 10:57:15 +00:00
parent fb9ae4d0e0
commit 46a119ef5f
5 changed files with 113 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.7-20251030094114
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.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=

108
goecs.txt Normal file
View File

@@ -0,0 +1,108 @@
-----------------------VPS Fusion Monster Test (Unofficial)-----------------------
Version: v0.1.91
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 @ 3244.508 MHz
CPU Cores : 1 Socket(s), 2 Physical Core(s), 4 Logical Thread(s)
CPU Cache : L1: 128 KB / L2: 1 MB / L3: 32 MB
AES-NI : ✔️ Enabled
VM-x/AMD-V/Hyper-V : ✔️ Enabled
RAM : 936.73 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/sdb1 - /mnt
Disk 2 : 51.23 GB / 71.61 GB [71.5%%] /dev/sda1 - /
Boot Path : /dev/sda1
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.47 / 1.02 / 0.35
VM Type : Microsoft Hyper-V
NAT Type : Port Restricted Cone
Tcp Accelerate : cubic
IPV4 ASN : AS8075 MICROSOFT-CORP-MSN-AS-BLOCK
IPV4 Location : Boydton / Virginia / United States
IPV4 Active IPs : 4/256 (subnet /24) 4260/131072 (prefix /15)
----------------------------CPU-Test--sysbench-Method-----------------------------
1 Thread(s) Test: 3380.57
4 Thread(s) Test: 7519.79
----------------------------Memory-Test--stream-Method----------------------------
Function Best Rate MB/s Avg time Min time Max time
Copy: 43173.5 0.004023 0.003706 0.004285
Scale: 30581.9 0.005647 0.005232 0.006902
Add: 31254.1 0.008583 0.007679 0.013284
Triad: 31616.3 0.008391 0.007591 0.010435
------------------------------Disk-Test--fio-Method-------------------------------
Test Path Block Read(IOPS) Write(IOPS) Total(IOPS)
/tmp 4k 39.12 MB/s(9778) 39.20 MB/s(9800) 78.32 MB/s(19.6k)
/tmp 64k 206.32 MB/s(3223) 207.40 MB/s(3240) 413.72 MB/s(6463)
/tmp 512k 202.37 MB/s(395) 213.12 MB/s(416) 415.48 MB/s(811)
/tmp 1m 200.85 MB/s(196) 214.22 MB/s(209) 415.07 MB/s(405)
-----------------------Cross-Border-Streaming-Media-Unlock------------------------
IPV4:
===============[ Global ]===============
Apple YES (Region: USA) [Native]
BingSearch YES (Region: US)
Claude YES (Region: US) [Native]
Dazn Banned
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 [Native]
Netflix YES (Region: US) [Native]
Netflix CDN CO
OneTrust YES (Region: US VIRGINIA) [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 YES (Region: US) [Native]
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 IAD
---------------------------------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 6213.15 Mbps 3852.98 Mbps 8.439881ms 0.00% (Sent: 402/Dup: 0/Max: 401)
----------------------------------------------------------------------------------
Cost Time : 2 min 38 sec
Current Time : Thu Oct 30 10:57: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).