Security Basics mailing list archives
Re: how to do a nmap for a range?
From: Andrew Kuriger <a.kuriger () liquidphlux com>
Date: Fri, 23 Jan 2009 12:39:45 -0600
Quick and dirty to find your router or switch would be to do a broadcast ping (i.e.. ping -b 192.168.0.255). If you wanted to do a ping sweep of the entire subnet 192.168.0.0 - 192.168.255.255 would take a very long time since you would be scanning 65536 IP addresses on a /16. Most likely all you really want to do is scan the range of 192.168.0.0 - 192.168.0.255 which is a /24 resulting in scanning only 256 IP's and probably would only take a few seconds. I beg to ask the question, the host you are trying to connect to via browser, does it have a web server running on it (i.e.. apache, litehttpd etc). If you wanted to see what ports are open (the real deal with nmap) try a nmap -v -sS 192.168.0.0/24. Few good books out there too on the subject. On Fri, 23 Jan 2009 12:09:42 +0530, shirish <shirishag75 () gmail com> wrote:
Hi all, Newbie to nmap. First of all thank you for a great tool. I want to use nmap to find on which IP my router is I read somewhere that you could use nmap to know where or how your computer is communicating through the router with some given range. Something like the following :- nmap -sP 192.168.0.1/32 Starting Nmap 4.62 ( http://nmap.org ) at 2009-01-23 12:00 IST Host 192.168.0.1 appears to be up. Nmap done: 1 IP address (1 host up) scanned in 12.595 seconds The manpage gives the following info. -sP: Ping Scan - go no further than determining if host is online Now trying the address which is supposed to be up doesn't give anything in the browser So I have couple of questions :- a. Is there a way to scan all the addresses for positives between 192.168.0.0 to whatever could be the ending 192.168.255.255 reference :-- http://en.wikipedia.org/wiki/192.168.1.1 Looking forward to any guidance on the same.
Current thread:
- how to do a nmap for a range? shirish (Jan 23)
- Re: how to do a nmap for a range? hkb (Jan 23)
- Re: how to do a nmap for a range? Calvin Maready (Jan 23)
- RE: how to do a nmap for a range? Caskey, Keith (Jan 23)
- Re: how to do a nmap for a range? Robin Wood (Jan 23)
- Re: how to do a nmap for a range? Andrew Kuriger (Jan 23)
- RE: how to do a nmap for a range? Jeremi Gosney (Jan 23)
- <Possible follow-ups>
- Re: how to do a nmap for a range? Isaac Sabas (Jan 27)
- Re: how to do a nmap for a range? rohnskii (Jan 28)
- Re: Re: how to do a nmap for a range? a (Jan 28)