nerdexam
EC-Council

EC0-350 · Question #588

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

(39 responses)
  • A
    8% (3)
  • B
    5% (2)
  • C
    85% (33)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full EC0-350 Practice