1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-15 01:46:35 +00:00
dmiller fac667e621 Bugfixes in json.lua
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.
2015-02-28 12:43:43 +00:00
2015-02-28 12:43:43 +00:00
2014-11-25 23:28:55 +00:00
2015-02-18 02:57:27 +00:00
2014-11-28 21:31:40 +00:00
2014-08-18 03:12:00 +00:00
2015-02-25 16:36:42 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-11-11 22:15:52 +00:00
2012-12-06 02:34:28 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-11-17 13:25:32 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2012-12-06 02:25:46 +00:00
2014-09-22 18:08:14 +00:00
2014-08-29 18:43:18 +00:00
2014-10-29 05:31:07 +00:00
2014-06-26 20:12:54 +00:00
2014-06-26 20:12:54 +00:00
2014-08-18 03:12:00 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2015-02-20 18:56:39 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2014-08-16 01:52:33 +00:00
2015-02-25 16:36:42 +00:00
2014-08-16 01:52:33 +00:00
2014-10-30 13:14:00 +00:00

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 ).
Languages
C 37.5%
Lua 28.1%
C++ 16.8%
Shell 5.8%
Python 4.2%
Other 7.3%