A cybersecurity student is learning about Netcat commands that could be used in a penetration testing engagement. The student wants to use Netcat as a port scanner. What command should be used?
IT Exam Items Repository › Category: Ethical Hacker › A cybersecurity student is learning about Netcat commands that could be used in a penetration testing engagement. The student wants to use Netcat as a port scanner. What command should be used?
A cybersecurity student is learning about Netcat commands that could be used in a penetration testing engagement. The student wants to use Netcat as a port scanner. What command should be used?
- 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
Related exam: 8.3.3 Quiz - Performing Post-Exploitation Techniques Answers
About The Author
The ITExamAnswers Editorial Team is a dedicated group of certified IT professionals and network engineers. We rigorously review, verify, and update all exam materials to ensure you receive the most accurate and reliable resources for your certification journey.