mirror of
https://github.com/nmap/nmap.git
synced 2026-02-15 01:46:35 +00:00
fac667e621e3f8f8cabaeb8345b6dc7940ca3977
A few bugs crept in during the conversion to LPEG parsing: 1. Unicode parsing of UTF-16 surrogate pairs returned an ending position that was off by 2, so that the last 2 characters in the escape code were parsed as literal characters. 2. Arrays and objects were not being tagged as such with make_array and make_object during parsing. This commit fixes these bugs, and returns to using unicode.utf8_enc for UTF-8 encoding instead of a separately-defined function. Also, the tests at the end (which were helpful in finding both of the bugs above) were converted to unittest.lua tests.
…
…
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%