Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use nmap to scan the computers on my network for conficker. I am using Windows. What do I put in the target for all computer on a given subnet?

It is running: nmap -T4 -A -v

I put in and but it did not work.

Thank you

share|improve this question
up vote 3 down vote accepted
nmap -PN -T4 -p139,445 -n -v --script=smb-check-vulns \ 
   --script-args safe=1
share|improve this answer is the subnet you need to specify if all the computers you want to reach are between and

share|improve this answer
Enough with the classes. Classful networking has been replaced ~15 years ago by CIDR. – mkudlacek Feb 28 '11 at 14:52
There are no classes anymore. See and, even better, – Sven Feb 28 '11 at 14:54
/24 is CIDR notation. – Shaun Dewberry Mar 4 '11 at 13:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.