gpt4 book ai didi

windows - HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.\UserChoice 中的哈希是什么?

转载 作者:可可西里 更新时间:2023-11-01 12:27:19 25 4
gpt4 key购买 nike

在 Windows 8 中,用户对给定文档类型打开哪个应用程序的选择似乎保留在

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\<extension>\UserChoice

对于我机器上的 PDF,这包含:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice]
"Hash"="xh8KhPWlZL0="
"ProgId"="AcroExch.Document"

然而在另一台机器上哈希是不同的。正在对什么进行哈希处理,是否有任何方法可以创建可应用于另一台计算机以设置此首选项的 .reg 文件?

最佳答案

有人对哈希进行逆向工程并编写了一个 CLI 工具来设置文件关联:

http://kolbi.cz/blog/?p=346

extension = “.txt”; the file extension
sid = “S-1-5-21-463486358-3398762107-1964875780-1001” ; the SID of the current user
progid = “txtfile”; the ProgId of the desired association
regdate = “01d3442a29887400”; timestamp of the UserChoice registry key
experience = “a microsoft secret string”; a static string (this is a dummy example, not the real string
hash = Base64(MicrosoftHash(MD5(toLower(extension, sid, progid, regdate, experience))))

没有透露所有细节,但可能足以对其余部分进行逆向工程。

关于windows - HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.<extension>\UserChoice 中的哈希是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17946282/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com