Re: nmap question
From: Max A. Schneider (maxschneider_at_chartermi-dot-net)
Date: 05/07/03
- Next message: Martin Cooper: "Re: nmap question"
- Previous message: beakburke: "Re: Root exploit in MySQL 3.23 < .56?"
- In reply to: eleKtron: "nmap question"
- Next in thread: Martin Cooper: "Re: nmap question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 6 May 2003 18:03:40 -0400
"eleKtron" <rvennell@dbu.edu> wrote in message
news:6f4bb9a3.0305061325.7b621681@posting.google.com...
> Ok, i'm writing a shell script that once a day will run nmap, save the
> results in a text file and then e-mail the results to myself and the
> security administrator. The problem is, in the range of IP's that i'm
> scanning, probably 90% of them are "down" from nmap's point of view.
>
> as i shoud, i get the response (IE:)"Host (10.1.10.13) appears to be
> down, skipping it." for IP's not being used and the correct response
> of (IE:)"Host (10.1.10.15) appears to be up ... good." (and then it
> goes on with it's results for all the ports in that IP)
>
> what i want to do is silence the "Host (10.1.10.13) appears to be
> down, skipping it." and just print out the : "Host (10.1.10.15)
> appears to be up ... good." results. otherwise i get a huge file of
> results of which only 10 percent are of value to me. Is there a way
> to silence the reports of an IP being down and just print the good
> ones out? thanks for any help.
>
>
> -Ryan
Two ideas come to mind:
* If you're running DHCP and have access to your server's leases file then
you can parse the currently leased addresses from it.
* You can parse addresses out of either /etc/hosts or your DNS file,
depending on how you're doing name resolution
Hope this helps,
Max
- Next message: Martin Cooper: "Re: nmap question"
- Previous message: beakburke: "Re: Root exploit in MySQL 3.23 < .56?"
- In reply to: eleKtron: "nmap question"
- Next in thread: Martin Cooper: "Re: nmap question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|