GPEN Exam QuestionsBrowse all questions from this exam

GPEN Exam - Question 21


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

Show Answer
Correct Answer: D

From within a netcat raw shell, when you execute a sudo command, you will encounter an issue where you cannot type the password at the password prompt. This is because netcat raw shells typically do not handle terminal input/output properly, and thus you won't be able to provide the necessary password for sudo authentication.

Discussion

1 comment
Sign in to comment
awfadwafOption: D
Nov 11, 2023

should be D