mirror of
https://github.com/nmap/nmap.git
synced 2026-02-07 14:06:33 +00:00
086b043cde5204126fe59749a689fbdb5490c806
This should be handled by the generic case, and I don't think it was used anyway because the logic was wrong: if(indent == nil and #data == 1 and type(data) == 'string' and not(data['name']) and not(data['warning'])) then return data[1] end This seems to be checking for a one-element table whose single element is a string. But the test "#data == 1 and type(data) == 'string'" is actually testing for a one-byte string. I think this is supposed to be "type(data[1]) == 'string'", but anyway it should be handled by the generic case.
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%