to impersonate a token to my main thread
The steps are:
1-Open the process token and get a handle.
2-duplicate the impersonation token, NewToken.
3-SetThreadToken(NULL, NewToken)
Im not getting any errors or i dont have problems enabling privileges
but a system("WHOAMI") doesnt give me system
Thanks in advance
No one here had experience with windows tokens?
Обсуждают сегодня