nerdexam
GAQM

CPEH-001 · Question #86

What does the following command in netcat do? nc -l -u -p55555 < /etc/passwd

The correct answer is C. grabs the /etc/passwd file when connected to UDP port 55555. See the full explanation below for the reasoning.

Question

What does the following command in netcat do? nc -l -u -p55555 < /etc/passwd

Options

  • Alogs the incoming connections to /etc/passwd file
  • Bloads the /etc/passwd file to the UDP port 55555
  • Cgrabs the /etc/passwd file when connected to UDP port 55555
  • Ddeletes the /etc/passwd file when connected to the UDP port 55555

How the community answered

(36 responses)
  • A
    14% (5)
  • B
    3% (1)
  • C
    75% (27)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full CPEH-001 Practice