mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 05:09:00 +00:00
e18b25bccd2b92d49daa7f05be6c5e4b2eeeb2d0
To avoid new GCC warnings about tempnam: ncat_connect.c:789: warning: the use of `tempnam' is dangerous, better use `mkstemp' Doing things this way has the same race condition as tempnam did, because we are unlinking the file before binding it. (The race window is smaller now.) The file must not exist before binding the Unix socket, or else you get an "address already in use" error. Unlinking before binding is the same thing that netcat-openbsd does. See this earlier thread: http://seclists.org/nmap-dev/2012/q4/336.
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%