nerdexam
McAfee

MA0-150 · Question #95

An attacker that is able to hack a web server is able to now read /etc/passwd but not /etc/shadow. What command could the attacker run to identify the issue?

The correct answer is D. whoami. See the full explanation below for the reasoning.

Question

An attacker that is able to hack a web server is able to now read /etc/passwd but not /etc/shadow. What command could the attacker run to identify the issue?

Options

  • AIs
  • Bifconfig
  • Cchown
  • Dwhoami

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    14% (4)
  • C
    7% (2)
  • D
    76% (22)

Community Discussion

No community discussion yet for this question.

Full MA0-150 Practice