1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-26 16:19:03 +00:00
david 549dc85ad3 Change PortList::getPortState to return the default port state if the
port is unknown, instead of -1. This makes it a better fit with the
other accessor functions. For those callers that need to know whether a
port is in the default state or not, add PortList::portIsDefault.

Having getPortState return -1 for ports in the default state would cause
the slightly wrong

Discovered unknown port 88/udp on 192.168.0.190 is actually open

to be printed instead of

Discovered open|filtered port 88/udp on 192.168.0.190 is actually open
2010-01-26 20:46:26 +00:00
2010-01-16 02:25:26 +00:00
2010-01-26 09:40:38 +00:00
2010-01-26 09:40:38 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00
2008-07-31 14:18:21 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00
2009-12-18 07:59:31 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( http://nmap.org ).
Languages
C 37.8%
Lua 28.1%
C++ 16.7%
Shell 5.8%
Python 4.2%
Other 7.1%