How would the attacker use netcat to encrypt the information before transmitting onto the wire?

Posted by: Pdfprep Category: CPEH-001 Tags: , ,

An attacker runs netcat tool to transfer a secret file between two hosts.

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?
A . Machine A: netcat -l -p -s password 1234 < testfileMachine B: netcat <machine A IP> 1234
B . Machine A: netcat -l -e magickey -p 1234 < testfileMachine B: netcat <machine A IP> 1234
C . Machine A: netcat -l -p 1234 < testfile -pw passwordMachine B: netcat <machine A IP> 1234 -pw password
D . Use cryptcat instead of netcat

Answer: D

Leave a Reply

Your email address will not be published.