Nmap Development mailing list archives

Re: -P0 bug


From: Jabra <jabra () spl0it org>
Date: Thu, 12 Jun 2008 00:20:50 -0400

On 10.Jun.2008 12:19AM -0500, Kris Katterjohn wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jabra wrote:
There is a bug for -P0 in version 4.65. nmap -P0 seems to only
work w/ privs. If you run it w/o privs you get nothing.


Thanks for the report.  I've committed the fix in SVN, so it will be in the
next release.


Kris, thanks for fixing the -P0 bug I found.
 
However, the issue still exists for -oG and -oX output.


nmap r8136 

--

$ nmap -P0 -oG test.grep -p 80 127.0.0.1
 
Starting Nmap 4.65 ( http://nmap.org ) at 2008-06-12 00:14 EDT
Note: Host seems down. If it is really up, but blocking our ping
probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 0.064 seconds
 
$ sudo nmap -P0 -oG test.grep -p 80 127.0.0.1
 
Starting Nmap 4.65 ( http://nmap.org ) at 2008-06-12 00:15 EDT
Interesting ports on localhost (127.0.0.1):
PORT   STATE SERVICE
80/tcp open  http
 
Nmap done: 1 IP address (1 host up) scanned in 0.087 seconds
 
 
 
$ nmap -P0 -oX test.xml -p 80 127.0.0.1
 
Starting Nmap 4.65 ( http://nmap.org ) at 2008-06-12 00:17 EDT
Note: Host seems down. If it is really up, but blocking our ping
probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 0.054 seconds

$ sudo nmap -P0 -oX test.xml -p 80 127.0.0.1 
 
Starting Nmap 4.65 ( http://nmap.org ) at 2008-06-12 00:17 EDT
Interesting ports on localhost (127.0.0.1):
PORT   STATE SERVICE
80/tcp open  http
 
Nmap done: 1 IP address (1 host up) scanned in 0.094 seconds

-- 
Jabra < jabra () spl0it org >
http://www.spl0it.org

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


Current thread: