nerdexam
EC-Council

EC0-350 · Question #254

What is the outcome of the comm"nc -l -p 2222 | nc 10.1.0.43 1234"?

The correct answer is B. Netcat will listen on port 2222 and output anything received to a remote connection on 10.1.0.43. See the full explanation below for the reasoning.

Question

What is the outcome of the comm"nc -l -p 2222 | nc 10.1.0.43 1234"?

Options

  • ANetcat will listen on the 10.1.0.43 interface for 1234 seconds on port 2222.
  • BNetcat will listen on port 2222 and output anything received to a remote connection on 10.1.0.43
  • CNetcat will listen for a connection from 10.1.0.43 on port 1234 and output anything received to
  • DNetcat will listen on port 2222 and then output anything received to local interface 10.1.0.43.

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    79% (26)
  • C
    12% (4)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full EC0-350 Practice