A company has five different subnets: 192.168.1.0, 192.168.2.0, 192.168.3.0, 192.168.4.0 and 192.168.5.0.
How can NMAP be used to scan these adjacent Class C networks?
A.
NMAP -P 192.168.1-5.
B.
NMAP -P 192.168.0.0/16
C.
NMAP -P 192.168.1.0,2.0,3.0,4.0,5.0
D.
NMAP -P 192.168.1/17
For answer A to work, it needs to read: nmap -P 192.168.1-5.* Otherwise, answer B meets the criteria.
The Correct answer is A but ist now written complete
should be NMAP -P 192.168.1-5/24