mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
changed the extractAttribute function to be case insensitive when retrieving
attributes.
This commit is contained in:
@@ -465,7 +465,7 @@ function extractAttribute( searchEntries, attributeName )
|
||||
for _, attrib in ipairs( v.attributes ) do
|
||||
local attribType = attrib[1]
|
||||
for i=2, #attrib do
|
||||
if attribType == attributeName then
|
||||
if ( attribType:upper() == attributeName:upper() ) then
|
||||
table.insert( attributeTbl, attrib[i])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user