The correct answer is nmap <target> because Nmap is a network scanning tool, and the most basic usage involves executing nmap followed by the specification of the target, which can be an IP address or hostname. This command will initiate a simple scan to find open ports on the target. Other options like -A and -sV add extra functionality, such as OS detection and service version detection, which is not required for a basic port scan. The --top-ports option specifies that only a certain number of the most common ports should be scanned, not all ports, which would be the default for a basic scan without additional arguments.
Learn More
AI Generated Content may display inaccurate information, always double-check anything important.
What does Nmap stand for and what are its primary uses?
What are open ports, and why are they important to scan?
What are the benefits of using the additional options in Nmap, like -A or -sV?