Certified Ethical Hacker (CEH) — Question 113

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because it effectively specifies a range of addresses across the Class C networks to be scanned. Option B is incorrect as it scans a broader range, covering networks outside the specified subnets. Option C lists individual subnets explicitly, which is less efficient than the range method in A. Option D incorrectly uses a subnet mask that does not encompass the desired subnets.