If you want to force Nmap to use the ping option you select, like -PS,
instead of overriding it with an ARP-ping you can do:
sudo nmap -sP -PS443 --send-ip 192.168.1.1
On Tue, 20 Mar 2007 14:00:33 -0700, "cybernmd" <cybernmd_at_gmail.com>
said:
> Thanks for the help,
>
> Good thing I've asked, because I have wrongfully assumed that -P[SAU]
> argument can stand by itself when in reality it is just a modifier to an
> already existing scan.
>
> So nmap was doing exactly what I've asked it to do: perform default scan
> with SYN ping to discover hosts and of course it wasn't doing SYN ping
> for local hosts when it could just do ARP ping thus ignoring the port in
> -PS443 argument ... silly me =)
>
> So just like Eddie said what i really wanted was indeed:
> sudo nmap -sP -PS443 192.168.1.1
>
> Thanks again,
>
> -Peter
>
>
> _______________________________________________
> Sent through the nmap-dev mailing list
> http://cgi.insecure.org/mailman/listinfo/nmap-dev
> Archived at http://SecLists.Org
--
Hans Nilsson
hasse_gg_at_ftml.net
--
http://www.fastmail.fm - Choose from over 50 domains or use your own
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Mar 21 2007