This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我找到了答案。 IE 根据密码类型将密码存储在两个不同的位置:
%APPDATA%\Microsoft\Credentials
,在加密文件中/strong>
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms\Storage2
,使用来自 NirSoft.com 上非常好的页面:就我的具体情况而言,它回答了在哪里的问题;我决定不再重复这样的事情。我将继续使用
CredRead
/CredWrite
,用户可以在 Windows 中已建立的 UI 系统中管理其密码。I found the answer. IE stores passwords in two different locations based on the password type:
%APPDATA%\Microsoft\Credentials
, in encrypted filesHKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms\Storage2
, encrypted with the urlFrom a very good page on NirSoft.com:
In my particular case it answers the question of where; and I decided that I don't want to duplicate that. I'll continue to use
CredRead
/CredWrite
, where the user can manage their passwords from within an established UI system in Windows.简短回答:在保险库中。从 Windows 7 开始,创建了一个保管库来存储其中的任何敏感数据(Internet Explorer 的凭据)。
Vault 实际上是一个本地系统服务 -Vaultsvc.dll。
长答案:
Internet Explorer 允许两种凭据存储方法:网站凭据(例如:您的 Facebook 用户和密码)和自动完成数据。从版本 10 开始,引入了一个新术语:Windows Vault,而不是使用注册表。 Windows 保管库是凭据管理器信息的默认存储保管库。
您需要检查正在运行哪个操作系统。如果是 Windows 8 或更高版本,则调用 VaultGetItemW8。如果不是,则调用VaultGetItemW7。
要使用“Vault”,您需要加载名为“vaultcli.dll”的 DLL 并根据需要访问其功能。
典型的 C++ 代码将是:
来枚举所有存储的凭据。
然后,您通过调用“Then you go over the results”
Short answer: in the Vault. Since Windows 7, a Vault was created for storing any sensitive data among it the credentials of Internet Explorer.
The Vault is in fact a LocalSystem service - vaultsvc.dll.
Long answer:
Internet Explorer allows two methods of credentials storage: web sites credentials (for example: your Facebook user and password) and autocomplete data. Since version 10, instead of using the Registry a new term was introduced: Windows Vault. Windows Vault is the default storage vault for the credential manager information.
You need to check which OS is running. If its Windows 8 or greater, you call VaultGetItemW8. If its isn't, you call VaultGetItemW7.
To use the "Vault", you load a DLL named "vaultcli.dll" and access its functions as needed.
A typical C++ code will be:
Then you enumerate all stored credentials by calling
Then you go over the results.
不能保证,但我怀疑 IE 使用较旧的 受保护存储 API。
No guarantee, but I suspect IE uses the older Protected Storage API.