ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 309 - PT0-002 discussion

Report
Export

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?

A.
1
Answers
A.
1
B.
101
Answers
B.
101
C.
255
Answers
C.
255
D.
256
Answers
D.
256
Suggested answer: C

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.Reference:

Nmap Commands - 17 Basic Commands for Linux Network, Section: Scan Multiple Hosts, Subsection: Excluding Hosts from Search

Nmap Cheat Sheet 2023: All the Commands and More, Section: Target Specification, Subsection: -exclude

asked 02/10/2024
Brian scott
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first