1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

revert r6499 -- no checkins please until after the stable release unless it fixes a critical problem

This commit is contained in:
fyodor
2007-12-11 19:56:36 +00:00
parent 18867cf3b2
commit d6e89a5616

View File

@@ -62,10 +62,9 @@ action = function(host, port)
return nil
end
-- parse all disallowed entries and remove comments
-- parse all disallowed entries
local output = strbuf.new()
for w in string.gmatch(strbuf.dump(response, '\n'), "Disallow:%s*([^\n]*)\n") do
w = w:gsub("%s*#.*", "")
buildOutput(output, w)
end