mirror of
https://github.com/oneclickvirt/nt3.git
synced 2025-09-26 20:41:36 +08:00
68822c1e5ae190218d72a7d0131374ca319916c8
nt3
三网路由查询模块
说明
- 使用nexttrace进行ICMP测试,预先加载定义好的广州、上海、北京、成都的三网地址
- 支持双语输出,以
-l
指定zh
或en
可指定输出的语言,未指定时默认使用中文输出 - 全平台编译支持(除了WIN)
使用
下载、安装、更新
curl https://raw.githubusercontent.com/oneclickvirt/nt3/main/nt3_install.sh -sSf | bash
或
curl https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/nt3/main/nt3_install.sh -sSf | bash
使用
nt3
或
./nt3
进行测试
无环境依赖,理论上适配所有系统和主流架构,更多架构请查看 https://github.com/oneclickvirt/nt3/releases/tag/output
Usage: nt3 [options]
-c string
Specify check type (both, ipv4, or ipv6) (default "ipv4")
-h Show help information
-l string
Specify language parameter (en or zh) (default "zh")
-loc string
Specify location (supports GZ, BJ, SH, CD, ALL; corresponding to Guangzhou, Beijing, Shanghai, Chengdu and All) (default "GZ")
-log
Enable logging
-v Show version information
卸载
rm -rf /root/nt3
rm -rf /usr/bin/nt3
在Golang中使用
go get github.com/oneclickvirt/nt3@v0.0.7-20250805133514
示例图
Thanks
Languages
Go
83.4%
Shell
16.6%