What is the correct count of ports scanned by default in Nmap?

Study for the EC-Council Certified Ethical Hacker (CEH) v13 Exam. Utilize flashcards and multiple-choice questions with helpful hints and detailed explanations. Excel in your exam preparation!

Multiple Choice

What is the correct count of ports scanned by default in Nmap?

Explanation:
Nmap scans the 1000 most commonly used ports by default. This choice gives a practical balance between speed and useful information: you get coverage of the services you’re most likely to encounter without the long wait of testing every single port. Scanning all 65,535 ports would take much longer and often isn’t necessary for a quick assessment, while scanning only a small subset (like 100) could miss important services. If you need to broaden or narrow the scope, you can adjust with -p to specify ports or range, or use --top-ports to change how many of the most common ports are checked, or -p- to scan all ports.

Nmap scans the 1000 most commonly used ports by default. This choice gives a practical balance between speed and useful information: you get coverage of the services you’re most likely to encounter without the long wait of testing every single port. Scanning all 65,535 ports would take much longer and often isn’t necessary for a quick assessment, while scanning only a small subset (like 100) could miss important services. If you need to broaden or narrow the scope, you can adjust with -p to specify ports or range, or use --top-ports to change how many of the most common ports are checked, or -p- to scan all ports.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy