mirror of
https://github.com/nmap/nmap.git
synced 2026-06-27 11:42:53 +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:
parent
b5fc50fa82
commit
c5ee5ec365
2 changed files with 7 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# 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
|
||||
format suitable for offline cracking. [Patrik]
|
||||
|
||||
|
|
|
|||
|
|
@ -172,9 +172,10 @@ local function parse(code,data)
|
|||
return obj_size+1, object
|
||||
--6 = _get_null
|
||||
--7 = _get_oid
|
||||
elseif 8 ==code then -- Boolean
|
||||
elseif 8 == code then -- Boolean
|
||||
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
|
||||
return 0,nil
|
||||
--11= _get_regex
|
||||
|
|
@ -182,7 +183,7 @@ local function parse(code,data)
|
|||
--13= _get_string, # code
|
||||
--14= _get_string, # symbol
|
||||
--15= _get_code_w_scope
|
||||
elseif 16== code then -- 4 byte integer
|
||||
elseif 16 == code then -- 4 byte integer
|
||||
return bin.unpack("<i", data)
|
||||
--17= _get_timestamp
|
||||
elseif 18 == code then -- long
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue