Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re: hosts NOT alive

Re: hosts NOT alive

From: Jesse Charbneau <jess_at_thecharbneaus.com>
Date: Tue, 27 Feb 2007 15:50:11 -0500

joe sadfsdf wrote:
> Hello All,
>
> Give a list of hosts, I want to determine which ones are DOWN. I'm
> trying NMap because it can give me really interesting info about the
> hosts which are up, but I can't get it to just tell me who is down!
>
> nmap -iL c:\my_host_list.txt -sP -oN c:\scan_results.txt
> -append-output -v -log-errors
>
> In the command shell, these options show me which hosts are up and
> which are down, however scan_results.txt only contains information
> about which hosts were up. In the command shell and my resulting file,
> I only want to log information about which hosts are down... how do I
> do this?
>
> thanks
>
> joe
>
> ps, i hope this isn't a repost... i sent earlier but i think it was
> denied.
>
> _________________________________________________________________
> Find a local pizza place, movie theater, and more….then map the best
> route! http://maps.live.com/?icid=hmtag1&FORM=MGAC01
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Sent through the nmap-dev mailing list
> http://cgi.insecure.org/mailman/listinfo/nmap-dev
> Archived at http://SecLists.Org
how are your hosts configured? Are they firewalled?

for simple testing, I usually do something like `ping -c 2 -w 1
[host|ip] > /dev/null && echo Alive || echo down`

that assumes that the hosts are not blocking pings.

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Feb 27 2007

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]