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)- A3% (1)
- B14% (4)
- C7% (2)
- D76% (22)
Community Discussion
No community discussion yet for this question.