nerdexam
GIAC

GPEN · Question #416

What problem occurs when executing the following command from within a netcat raw shell? sudo cat /etc/shadow

Sign in or unlock GPEN to reveal the answer and full explanation for question #416. The question stem and answer options stay visible for context.

Exploitation & Post-Exploitation Techniques

Question

What problem occurs when executing the following command from within a netcat raw shell? sudo cat /etc/shadow

Options

  • ASudo does not work at all from a shell
  • BSudo works fine if the user and command are both in the /etc/sudoers file
  • CThe display blanks after typing the sudo command
  • DYou will not be able to type the password at the password prompt

Unlock GPEN to see the answer

You've previewed enough free GPEN questions. Unlock GPEN for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#netcat shell#sudo TTY#privilege escalation#shell limitations
Full GPEN Practice