Which option controls port scanning in Nmap?

Prepare for the Nmap and ZenMap Tests. Access flashcards and multiple choice questions, with hints and explanations for each question. Ensure success in your exam!

Multiple Choice

Which option controls port scanning in Nmap?

Explanation:
The ability to decide which ports Nmap probes is what this tests, and that is controlled by the port specification option. Using -p lets you specify exact ports or ranges to scan—for example, -p 80,443 scans only those ports, -p 1-1000 scans the first thousand ports, and -p- scans all ports (1-65535). By default, Nmap uses a standard set of ports, so -p changes the scope of the port scan. The other switches change different aspects of the scan rather than which ports are examined: -sV enables service/version detection on open ports, -O attempts to determine the host OS, and -T adjusts timing and scan speed.

The ability to decide which ports Nmap probes is what this tests, and that is controlled by the port specification option. Using -p lets you specify exact ports or ranges to scan—for example, -p 80,443 scans only those ports, -p 1-1000 scans the first thousand ports, and -p- scans all ports (1-65535). By default, Nmap uses a standard set of ports, so -p changes the scope of the port scan.

The other switches change different aspects of the scan rather than which ports are examined: -sV enables service/version detection on open ports, -O attempts to determine the host OS, and -T adjusts timing and scan speed.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy