Nmap Development mailing list archives

-NP ignored when running as root


From: Mike Calmus <mcalmus () nyx net>
Date: Thu, 16 Jul 2009 18:58:51 -0400

I just downloaded and built nmap 5.0 on MacOSX 10.5.7. When I run a simple scan on a Windows 7 box it seems to ignore the -NP setting when I run as root. It works fine when I run as an unprivileged user:

bash-3.2$ sudo nmap -PN -A -v 192.168.1.190

Starting Nmap 5.00 ( http://nmap.org ) at 2009-07-16 18:48 EDT
NSE: Loaded 30 scripts for scanning.
Initiating ARP Ping Scan at 18:48
Scanning 192.168.1.190 [1 port]
Completed ARP Ping Scan at 18:48, 0.22s elapsed (1 total hosts)
Read data files from: /usr/local/share/nmap
Nmap done: 1 IP address (0 hosts up) scanned in 0.54 seconds
           Raw packets sent: 2 (84B) | Rcvd: 0 (0B)


bash-3.2$ nmap -PN -A 192.168.1.190

Starting Nmap 5.00 ( http://nmap.org ) at 2009-07-16 18:50 EDT
Stats: 0:01:44 elapsed; 0 hosts completed (1 up), 1 undergoing Script Scan
NSE Timing: About 0.00% done
Interesting ports on 192.168.1.190:
Not shown: 993 filtered ports
PORT      STATE SERVICE     VERSION
135/tcp   open  msrpc       Microsoft Windows RPC
139/tcp   open  netbios-ssn
445/tcp   open  netbios-ssn
554/tcp   open  rtsp?
2869/tcp  open  http        Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
5357/tcp  open  http        Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_ html-title: Service Unavailable
10243/tcp open  http        Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_ html-title: Not Found
Service Info: OS: Windows



--
Mike

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


Current thread: