Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: fast nmap scan of XP boxes?

Subject: Re: fast nmap scan of XP boxes?
Date: Fri, 28 Oct 2005 22:14:56 -0400

On Aug 12, 2005, at 1:58 PM, Michael Weber wrote:

I am using nmap to create a list of targets that I will then use other
tools to test. My problem is how can I do a fast scan of a large (class
B) network of systems running XP, most with firewalling turned on? Will
nmap -sP still find the systems if ping does not?

I have something just for you; I use it constantly during assessments just for this purpose:


nmap -vv -n -sP -PS21,22,23,25,53,80,110,135,139,143,445,1433,1521 $target | grep appears | grep up | cut -d" " -f2 > $outfile

What this does is "ping" the host via not just ICMP, but also via TCP connections on the ports listed. :) It makes great lists and, as you know, it saves tons of time when you import a list of active hosts instead of just feeding a network.

Hope you like it. :) Oh, and here's my Nmap "Primer" which has a couple other decent nuggets:

http://dmiessler.com/study/nmap

--
Daniel R. Miessler
M: daniel@dmiessler.com
W: http://dmiessler.com
G: 0x316BC712




Attachment: PGP.sig
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>