You are pen testing a Windows system remotely via a raw netcat shell. You want to quickly change directories to where the Windows operating system resides, what command could you use?
You are pen testing a Windows system remotely via a raw netcat shell. You want to quickly change directories to where the Windows operating system resides, what command could you use?
To change directories to where the Windows operating system resides, you would use the command 'cd %systemroot%'. The '%systemroot%' environment variable in Windows points to the root directory of the Windows operating system, typically 'C:\Windows'. None of the other options correctly utilize this environment variable.
Should be D cd %systemroot%
Correct answer is D
yea.. that's true cd- is not a valid command from windows