A cybersecurity student is learning about Netcat commands that could be used in a penetration testing engagement. Which Netcat command is used to connect to a TCP port?
- nc -nv
- nc -lvp
- nc -z
- nc -nv
Explanation: Several Netcat commands can be used in a penetration testing engagement. Some of them are the following:
- nc -nv - to connect to a TCP port
- nc -lvp - to listen on a given TCP port
- nc -lvp 1234 > output.txt (receiving system) and nc -nv nc -z - to be used as a port scanner
Exam with this question: 8.3.3 Quiz - Performing Post-Exploitation Techniques Answers
Please login or Register to submit your answer