CH-J Tools通过 SSH 管理服务器
菜单
已发布的源代码

CH-J Tools

浏览特定应用版本的目录和文件。

下载源代码 ZIP
CH-J / Server Manager 872 个文件
core-20261030T220507Z-61e4558d889f 添加时间: · 构建时间:
windows_hash.ps1 添加时间: 未记录日期 441 B · 7 行
代码 下载文件
1param([string]$ArgsJson)
2$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'
3$A = $ArgsJson | ConvertFrom-Json
4$p = [string]$A.path
5if ($p -match '^/[A-Za-z]:') { $p = $p.Substring(1) }
6$h = (Get-FileHash -Algorithm SHA256 -LiteralPath $p).Hash.ToLowerInvariant()
7[Console]::Out.WriteLine('CHJ_RESULT:' + [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes((ConvertTo-Json -InputObject @{ hash = $h } -Compress))))
SHA-256d430e2e73c7640484c999d53d95aebe3a4937b3c86b2adf393cf338c9e122aff

CH-J Proprietary Software License 1.14 · 源代码依据 CH-J Proprietary Software License 1.14 提供。公开源代码不会改变许可条款,也不会授予额外权利。

压缩包 SHA-25677380d4805485ffa4027fbe7858b5836f197a4aa9d52358a43e2d12d018744df
文件