mirror of
https://github.com/nmap/nmap.git
synced 2026-01-26 16:19:03 +00:00
549dc85ad3d4a1b1577f2f9762944f37b5352de0
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
Modified UDP-payload-related code to make it independent of the NmapOps class so it can be reused by other apps like Nping. More info at http://seclists.org/nmap-dev/2009/q3/0051.html
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 ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.1%