How would you limit version detection to a subset of ports?

Study for the Nmap/ZenMap Switches Test. Prepare with flashcards and multiple choice questions, each question provides hints and explanations. Get ready for your exam!

Multiple Choice

How would you limit version detection to a subset of ports?

Explanation:
Version detection runs only on the ports that Nmap actually checks. To limit which ports are analyzed for version information, you specify the ports first and then request version detection. Using -sV together with -p to pick a subset of ports, for example -sV -p 80,443, tells Nmap to scan only those ports and perform service/version detection on them. If you only use -sV, you’re enabling version detection on whatever ports are scanned by default, which may be more than you want. If you only use -p, you restrict which ports are scanned but won’t get version information unless you also include -sV. The timing option -T4 affects scan speed, not port limiting. So the combination of -sV with -p is the correct approach to limit version detection to a subset of ports.

Version detection runs only on the ports that Nmap actually checks. To limit which ports are analyzed for version information, you specify the ports first and then request version detection. Using -sV together with -p to pick a subset of ports, for example -sV -p 80,443, tells Nmap to scan only those ports and perform service/version detection on them. If you only use -sV, you’re enabling version detection on whatever ports are scanned by default, which may be more than you want. If you only use -p, you restrict which ports are scanned but won’t get version information unless you also include -sV. The timing option -T4 affects scan speed, not port limiting. So the combination of -sV with -p is the correct approach to limit version detection to a subset of ports.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy