mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 07:59:03 +00:00
o [NSE] Applied patch that fixes a nil table index bug discovered in the
mongodb library. [Thomas Buchanan]
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# Nmap Changelog ($Id$); -*-text-*-
|
# Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o [NSE] Applied patch that fixes a nil table index bug discovered in the
|
||||||
|
mongodb library. [Thomas Buchanan]
|
||||||
|
|
||||||
o [NSE] Added ms-sql-dump-hashes, a script that dumps the MS SQL hashes in a
|
o [NSE] Added ms-sql-dump-hashes, a script that dumps the MS SQL hashes in a
|
||||||
format suitable for offline cracking. [Patrik]
|
format suitable for offline cracking. [Patrik]
|
||||||
|
|
||||||
|
|||||||
@@ -172,9 +172,10 @@ local function parse(code,data)
|
|||||||
return obj_size+1, object
|
return obj_size+1, object
|
||||||
--6 = _get_null
|
--6 = _get_null
|
||||||
--7 = _get_oid
|
--7 = _get_oid
|
||||||
elseif 8 ==code then -- Boolean
|
elseif 8 == code then -- Boolean
|
||||||
return 2, data:byte(1) == 1
|
return 2, data:byte(1) == 1
|
||||||
--9 = _get_date
|
elseif 9 == code then -- int64, UTC datetime
|
||||||
|
return bin.unpack("<l", data)
|
||||||
elseif 10 == code then -- nullvalue
|
elseif 10 == code then -- nullvalue
|
||||||
return 0,nil
|
return 0,nil
|
||||||
--11= _get_regex
|
--11= _get_regex
|
||||||
@@ -182,7 +183,7 @@ local function parse(code,data)
|
|||||||
--13= _get_string, # code
|
--13= _get_string, # code
|
||||||
--14= _get_string, # symbol
|
--14= _get_string, # symbol
|
||||||
--15= _get_code_w_scope
|
--15= _get_code_w_scope
|
||||||
elseif 16== code then -- 4 byte integer
|
elseif 16 == code then -- 4 byte integer
|
||||||
return bin.unpack("<i", data)
|
return bin.unpack("<i", data)
|
||||||
--17= _get_timestamp
|
--17= _get_timestamp
|
||||||
elseif 18 == code then -- long
|
elseif 18 == code then -- long
|
||||||
|
|||||||
Reference in New Issue
Block a user