Exam GPEN All QuestionsBrowse all questions from this exam
Question 7

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?

    Correct Answer: D

    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.

Discussion
korhanacarOption: D

Should be D cd %systemroot%

akicybersecOption: D

Correct answer is D

Omo_MushinOption: D

yea.. that's true cd- is not a valid command from windows