mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
revert r6499 -- no checkins please until after the stable release unless it fixes a critical problem
This commit is contained in:
parent
18867cf3b2
commit
d6e89a5616
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue