mirror of
https://github.com/nmap/nmap.git
synced 2026-02-07 22:16:33 +00:00
113e0b975fb7f06d2655b4675535556453609e1d
Besides the confusingness of the nodns argument being negatively phrased, it had the value 0 in every existing call. Split out the nodns special case into a separate function resolve_numeric. This also has the side effect of changing the number of parameters to the resolve function, which will cause a compile error for any calls I might have missed changing when I changed the return code meaning in the previous commit. Ncat has its own copy of resolve, which obeys the global o.nodns rather than a parameter. I'm leaving that alone for now. But give it the same resolve_internal function, and make resolve call it with different flags depending on the value of o.nodns.
…
…
…
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.5%
Lua
28.1%
C++
16.8%
Shell
5.8%
Python
4.2%
Other
7.3%