nerdexam
CompTIACompTIA

PT0-002 · Question #385

PT0-002 Question #385: Real Exam Question with Answer & Explanation

The correct answer is C: 255. The Nmap scan command given will scan all the hosts in the 192.168.0.0/24 subnet, except for the one with the IP address 192.168.0.101. The subnet has 256 possible hosts, but one of them is excluded, so the total number of servers that Nmap will attempt to scan is 255.

Information Gathering and Vulnerability Scanning

Question

Given the following Nmap scan command: [root@kali ~]# nmap 192.168.0 .* -- exclude 192.168.0.101 Which of the following is the total number of servers that Nmap will attempt to scan?

Options

  • A1
  • B101
  • C255
  • D256

Explanation

The Nmap scan command given will scan all the hosts in the 192.168.0.0/24 subnet, except for the one with the IP address 192.168.0.101. The subnet has 256 possible hosts, but one of them is excluded, so the total number of servers that Nmap will attempt to scan is 255.

Topics

#Nmap#Network Scanning#Target Specification#Host Discovery

Community Discussion

No community discussion yet for this question.

Full PT0-002 PracticeBrowse All PT0-002 Questions