PrepAway - Latest Free Exam Questions & Answers

How can NMAP be used to scan these adjacent Class C networks?

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?

PrepAway - Latest Free Exam Questions & Answers

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

4 Comments on “How can NMAP be used to scan these adjacent Class C networks?

  1. Nabil Abdulaal says:

    The correct answer is : B. NMAP -P 192.168.0.0/16

    or actually it suppose to be NMAP -P[PortNumber] 192.168.0.0/16

    and not 1-5, since “-” is consider as a key indicator

  2. hacker says:

    A is Correct….
    Goggle it…

    Scan a single ip address – nmap 192.168.1.1
    Multiple IP – nmap 192.168.1.1 192.168.1.2 192.168.1.3
    with subnet – nmap 192.168.1.1,2,3
    range of IP – nmap 192.168.1.1-20
    range of IP with wildcard: – nmap 192.168.1.*
    entire subnet: – nmap 192.168.1.0/24


Leave a Reply