nerdexam
EC-Council

EC0-350 · Question #584

An attacker runs netcat tool to transfer a secret file between two hosts. Machine A: netcat -l -p 1234 < secretfile Machine B: netcat 192.168.3.4 > 1234 He is worried about information being sniffed…

The correct answer is D. Use cryptcat instead of netcat. See the full explanation below for the reasoning.

Question

An attacker runs netcat tool to transfer a secret file between two hosts. Machine A: netcat -l -p 1234 < secretfile Machine B: netcat 192.168.3.4 > 1234 He is worried about information being sniffed on the network. How would the attacker use netcat to encrypt the information before transmitting onto the wire?

Options

  • AMachine A: netcat -l -p -s password 1234 < testfile
  • BMachine A: netcat -l -e magickey -p 1234 < testfile
  • CMachine A: netcat -l -p 1234 < testfile -pw password
  • DUse cryptcat instead of netcat

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    4% (1)
  • C
    4% (1)
  • D
    79% (19)

Community Discussion

No community discussion yet for this question.

Full EC0-350 Practice