mirror of
https://github.com/nmap/nmap.git
synced 2026-01-26 08:09:07 +00:00
0283d4179801f30d08c41fb124c8497aab51ac54
This restores code removed in r28342, which rewrites sys.path to include the directory in which the Zenmap modules are installed. This is needed to run the program without changes to PYTHONPATH when the installation directory is not among the Python interpreter's default search paths. (/usr/local/lib/python2.7/site-packages/ or a user's home directory are common cases.) A difference is that now we make sure that the directory we are adding is not writable by any other users, to avoid installation mistakes like Debian bug #663217.
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%