NetDiag 网络诊断报告生成器

default egress + evidence graph · Rust · 单文件自包含 · 6 平台

Windows(推荐:脚本 + 制品,带下载进度)

irm sc.nsapi.top/netdiag | iex

Windows(单文件:base64 内嵌,无二次下载)

$t=switch([Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString()){'X64'{'x64'}'X86'{'x86'}'Arm64'{'arm64'}}; irm "sc.nsapi.top/netdiag-b64-$t" | iex

Linux

curl -fsSL sc.nsapi.top/netdiag.sh | sh

产物

运行后在当前目录生成 netdiag-report-<yyyyMMdd-HHmmss>.html,并自动用默认浏览器打开。 运行期间控制台显示进度条(--no-progressNETDIAG_NO_PROGRESS=1 可关闭;非终端自动关闭)。

制品(按平台自动选择)

平台目标三元组制品
Windows x64x86_64-pc-windows-msvc.exe
Windows x86i686-pc-windows-msvc.exe
Windows arm64aarch64-pc-windows-gnullvm.exe
Linux x86_64x86_64-unknown-linux-gnuELF
Linux arm64aarch64-unknown-linux-gnuELF
Linux i686i686-unknown-linux-gnuELF

单文件变体(base64 内嵌)

架构入口大小
x64/netdiag-b64-x64~1.14 MiB
x86/netdiag-b64-x86~1.02 MiB
arm64/netdiag-b64-arm64~1.14 MiB

校验

两条路径都在运行前核对 SHA-256:脚本路径比对 manifest.txt, base64 路径比对内嵌哈希;不匹配即中止并清理临时文件。