finding hosts

View: New views
2 Messages — Rating Filter:   Alert me  

finding hosts

by the_chill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi I want to scan a network with almost filtered hosts who not respont to pings. Somme of them have an example port 3,5,6 and other open. So I would like to probe port 3,5,6 and Nmap should stop probing if ther is a open Port 3 or 5 and start a scan with the default port range on this host.

simply I want just to use Port 3,5,6 and not port 80 for host discovery and then make a normal scan.

Is ther a way to do it in one scan?
     
_________________________________________________________________
http://redirect.gimas.net/?n=M0911xMSWin72
Windows 7 - jetzt upgraden!
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Re: finding hosts

by Rob Nicholls-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 8 Nov 2009 09:35:20 +0000, MALTE SIMON <malte_simon@...>
wrote:
> simply I want just to use Port 3,5,6 and not port 80 for host discovery
> and then make a normal scan.

I think you need to use the -PS option, which sends a SYN to the stated
port(s).

For example: nmap -PS3,5,6 yourIPrange

Hopefully this is what you're looking for. It'll continue to scan all the
hosts that respond in some form to the SYNs, but if you're testing it out
you can combine it with -sP so it'll list the hosts marked as up.

Rob

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/