EC-Council
312-50V7 · Question #202
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 port 1234. 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 port 1234.
- CNetcat will listen for a connection from 10.1.0.43 on port 1234 and output anything received to port 2222.
- DNetcat will listen on port 2222 and then output anything received to local interface 10.1.0.43.
How the community answered
(44 responses)- A2% (1)
- B80% (35)
- C14% (6)
- D5% (2)
Community Discussion
No community discussion yet for this question.