QuestionQ5

VerifiedEnterprise System Penetration Testing

You are remotely penetration testing a Windows system through a raw netcat shell. To quickly change to the directory where the Windows operating system is located, which command could you use?

Explanation

In the Windows Command Prompt, percent-delimited environment variables are expanded before the command runs. %systemroot% contains the path to the Windows operating-system directory, and cd %systemroot% changes the current directory to that resolved path.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!