Nmap Development mailing list archives
Re: NSE Script: x11 server checking
From: jah <jah () zadkiel plus com>
Date: Thu, 06 Aug 2009 22:21:22 +0100
Apologies.
port.product is bogus and what I should have written is
*port.version.product*
There is also no need to test for the empty string so the following
portrule should work:
portrule = function( host, port )
if port.number ~= 6000 and port.number ~= 6001 and port.number ~= 6003
and port.name ~= 'x11' then
-- return false
end
-- don't run if version detection determined 'product'
if port.version.product then
return false
end
return true
end
Sorry for the confusion!
jah
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Current thread:
- NSE Script: x11 server checking vladz (Aug 06)
- Re: NSE Script: x11 server checking jah (Aug 06)
- Re: NSE Script: x11 server checking jah (Aug 06)
- Re: NSE Script: x11 server checking vladz (Aug 06)
- Re: NSE Script: x11 server checking David Fifield (Aug 07)
- Re: NSE Script: x11 server checking vladz (Aug 08)
- Re: NSE Script: x11 server checking David Fifield (Aug 08)
- Re: NSE Script: x11 server checking vladz (Aug 08)
