Nmap Development mailing list archives

Re: scanning Mac OS X with nmap


From: David Fifield <david () bamsoftware com>
Date: Fri, 30 Sep 2011 21:43:53 -0700

On Wed, Sep 28, 2011 at 11:56:36AM +0300, Asli Koksal wrote:
Hello all,

I am trying to scan a Mac OS X 10.7.1 machine. When I run nmap as normal
user it gives me the output as below:
nmap -PN 10.0.0.11
Starting Nmap 5.21 ( http://nmap.org ) at 2011-09-28 11:52 EEST
Nmap scan report for 10.0.0.11
Host is up (0.035s latency).
Not shown: 99 closed ports
PORT     STATE    SERVICE
1720/tcp filtered H.323/Q.931
Nmap done: 1 IP address (1 host up) scanned in 1.69 seconds

But the same machine I try the same command as su, it gives no results:
sudo nmap -PN --osscan-guess -F 10.0.0.11
Starting Nmap 5.21 ( http://nmap.org ) at 2011-09-28 11:53 EEST
Nmap done: 1 IP address (0 hosts up) scanned in 0.35 seconds

What can be the problem?

What happens if you run with su using the option --send-ip? What about
both --send-ip and -Pn?

Use --packet-trace to see the difference between two scans.

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


Current thread: