What does the following command in netcat do?

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

What does the following command in netcat do?

nc -l -u -p55555 < /etc/passwd
A . logs the incoming connections to /etc/passwd file
B . loads the /etc/passwd file to the UDP port 55555
C . grabs the /etc/passwd file when connected to UDP port 55555
D . deletes the /etc/passwd file when connected to the UDP port 55555

Answer: C

Leave a Reply

Your email address will not be published.