Nmap Development mailing list archives
nmap 5.21, OS X 10.6.2 - doesn't work as root
From: "Daniel" <dt () 7oo7 net>
Date: Mon, 29 Mar 2010 09:28:04 -0400
Hi, An old problem - I can run nmap as a plain ol' user: ================ [dt@localhost:~]$ nmap -n -vvv -PN 10.0.1.7 Starting Nmap 5.21 ( http://nmap.org ) at 2010-03-29 09:20 EDT Initiating Connect Scan at 09:20 Scanning 10.0.1.7 [1000 ports] Discovered open port 135/tcp on 10.0.1.7 Discovered open port 139/tcp on 10.0.1.7 Discovered open port 445/tcp on 10.0.1.7 Completed Connect Scan at 09:20, 1.14s elapsed (1000 total ports) Nmap scan report for 10.0.1.7 Host is up (0.00057s latency). Scanned at 2010-03-29 09:20:17 EDT for 1s Not shown: 997 closed ports PORT STATE SERVICE 135/tcp open msrpc 139/tcp open netbios-ssn 445/tcp open microsoft-ds Read data files from: /usr/local/share/nmap Nmap done: 1 IP address (1 host up) scanned in 1.22 seconds ================ but not as root: ================ [dt@localhost:~]$ sudo nmap -n -vvv -PN 10.0.1.7 Starting Nmap 5.21 ( http://nmap.org ) at 2010-03-29 09:21 EDT Initiating ARP Ping Scan at 09:21 Scanning 10.0.1.7 [1 port] Completed ARP Ping Scan at 09:21, 0.21s elapsed (1 total hosts) Nmap scan report for 10.0.1.7 [host down] Read data files from: /usr/local/share/nmap Nmap done: 1 IP address (0 hosts up) scanned in 0.29 seconds Raw packets sent: 2 (84B) | Rcvd: 0 (0B) ================ I did a little research on this, and found a few other user's questions about it, the most recent from 11/2009 where the user was told to upgrade to 5.10BETA1, but I'm on 5.21 and it's still not working properly - unless I'm doing something wrong. I tried both building from src and installing from the Mac OS X binary (.dmg) distribution. Running OSX 10.6.2 Hardware: Model Name: MacBook Pro Model Identifier: MacBookPro5,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.8 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 6 MB Memory: 4 GB Bus Speed: 1.07 GHz Boot ROM Version: MBP51.007E.B05 SMC Version (system): 1.33f8 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- nmap 5.21, OS X 10.6.2 - doesn't work as root Daniel (Mar 29)
- Re: nmap 5.21, OS X 10.6.2 - doesn't work as root David Fifield (Mar 30)