Run Commands AS
Some times we need to do a lateral or vertical movement between the same hosts only switching between local users, and we cant use any type of authenticated service such as SMB or SSH.
Last updated
Was this helpful?
Some times we need to do a lateral or vertical movement between the same hosts only switching between local users, and we cant use any type of authenticated service such as SMB or SSH.
Last updated
Was this helpful?
Linux has the easiest way to change between users using the su
command.
To change to root
user (need to be in sudoer group)
runas
command gives us the oportunity in cmd
the opportunity to run some commands as other users.
is part of a growing kit of Sysinternals command-line tools that aid in the administration of local and remote systems named PsTools.
Similar like sudo
Similar like sudo
to change to root
user: