Skip to content

omnine/imcert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is some test code for a windows service to impersonate a logged user to access his certificate store.

Test

Follow this link.

psexec -i -s cmd.exe

Now run imcert.exe (it will be run as local system account),

e:\projects\imcert\x64\Debug>imcert.exe
Hello World!
Number of Entries: 128

The system store was opened successfully.
The desired certificate was found.

If we run it normally,

e:\projects\imcert\x64\Debug>imcert.exe
Hello World!
Number of Entries: 132

WTSQueryUserToken failed with error = 1314

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages