[Asm] 纯文本查看 复制代码
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\GetHash]
"MUIVerb"="获取哈希值"
"Icon"="imageres.dll,-5372"
[HKEY_CLASSES_ROOT\*\shell\GetHash\Command]
@="mshta vbscript:createobject(\"shell.application\").shellexecute(\"powershell.exe\",\"-noexit write-host '\"\"%1\"\"';$args = 'md5', 'sha1', 'sha256'; foreach($arg in $args){get-filehash '\"\"%1\"\"' -algorithm $arg | select-object algorithm, hash | format-table -wrap}\",\"\",\"open\",3)(close)"
注册表添加,Windows自带,是我现在用的,常用的md5、sha1、sha256都有了,其他的可以自行添加。 |