查看: 2149|回复: 8
收起左侧

[分享] 将Windows自带文件hash校验功能加入右键菜单

[复制链接]
efafea
发表于 2022-3-21 23:33:47 | 显示全部楼层 |阅读模式
本帖最后由 efafea 于 2022-3-21 23:36 编辑

_AOH3@]A]OG26G1KXYF`TSD.png

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\文件哈希校验]

"SubCommands"="MACTripleDES;RIPEMD160;MD5;SHA1;SHA256;SHA384;SHA512"

"MUIVerb"="文件哈希校验"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MACTripleDES]

@="MACTripleDES"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MACTripleDES\command]

@="PowerShell Get-FileHash -Algorithm MACTripleDES \\\"%1\\\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\RIPEMD160]

@="RIPEMD160"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\RIPEMD160\command]

@="PowerShell Get-FileHash -Algorithm RIPEMD160 \\\"%1\\\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD5]

@="MD5"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD5\command]

@="PowerShell Get-FileHash -Algorithm MD5 \\\"%1\\\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA1]

@="SHA1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA1\command]

@="PowerShell Get-FileHash -Algorithm SHA1 \\\"%1\\\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA256]

@="SHA256"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA256\command]

@="PowerShell Get-FileHash -Algorithm SHA256 \\\"%1\\\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA384]

@="SHA384"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA384\command]

@="PowerShell Get-FileHash -Algorithm SHA384 \\\"%1\\\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA512]

@="SHA512"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA512\command]

@="PowerShell Get-FileHash -Algorithm SHA512 \\\"%1\\\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"

文件哈希值校验.zip (691 Bytes, 下载次数: 59)

评分

参与人数 3人气 +5 收起 理由
Kinhold + 1 感谢提供分享
zhczf + 2 版区有你更精彩: )
正在缓冲 + 2 版区有你更精彩: )

查看全部评分

明月丶舞白衣
发表于 2022-3-21 23:35:49 | 显示全部楼层
安装个7-zip就可以了
efafea
 楼主| 发表于 2022-3-21 23:37:18 | 显示全部楼层

我用班迪,无脑自动解压好用
明月丶舞白衣
发表于 2022-3-21 23:40:04 | 显示全部楼层
efafea 发表于 2022-3-21 23:37
我用班迪,无脑自动解压好用

我说的是右键校验功能   你和我说解压缩
yhyibengs
发表于 2022-3-22 23:50:57 | 显示全部楼层
感谢楼主无私奉献,很好用
guwurong
头像被屏蔽
发表于 2022-3-23 08:44:55 | 显示全部楼层
楼主做得不错,可以用,感谢一下。
visionbaby
发表于 2022-3-24 08:38:37 | 显示全部楼层
windows 有自带的
huang522927633
头像被屏蔽
发表于 2022-3-24 09:09:21 | 显示全部楼层
好像要win10 11才有
nmyh
发表于 2022-3-24 10:43:08 | 显示全部楼层
1.win7无法运行,win10才有“Get-FileHash”这个powershell命令。

2.Win10自带的powershell命令比7-Zip慢。
在虚拟机Win10(20h2)上测试同一个文件的sha256的时间对比如下(分别共3次):
Win10(20h2)powershell:27秒,28秒,27秒
7-Zip(v19.00):21秒,22秒,22秒
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-5-14 02:38 , Processed in 0.141433 second(s), 20 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表