Exam GPEN All QuestionsBrowse all questions from this exam
Question 22

You are pen testing a Windows system remotely via a raw netcat shell. You want to get a listing of all the local users in the administrators group, what command would you use?

    Correct Answer: C

    To get a listing of all the local users in the administrators group on a Windows system, the correct command is 'net localgroup administrators'. This command displays the members of the administrators group on the computer, providing the information needed in a pen testing scenario.

Discussion
chadiosaurousOption: C

C for sure