mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
4c57d3f8c8ed0d3d8254ce13fa47d322cab28e2c
scan response, instead of checking for a current state of PORT_OPENFILTERED. The code calls getPortState, but the port may not have been assigned a state, again because of the new Port allocation architecture, so the function returns -1. It would make sense to have getPortState return the default port state if a Port has not been allocated, but there are two other places it is used where the code relies on it returning -1 to indicate that a port has not received a state yet.
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.2%