mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Fix for http-wordpress-plugins by Daniel Miller.
http://seclists.org/nmap-dev/2012/q2/887
This commit is contained in:
@@ -55,7 +55,7 @@ portrule = shortport.service("http")
|
|||||||
|
|
||||||
local function read_data_file(file)
|
local function read_data_file(file)
|
||||||
return coroutine.wrap(function()
|
return coroutine.wrap(function()
|
||||||
for line in file:lines(file) do
|
for line in file:lines() do
|
||||||
if not line:match("^%s*#") and not line:match("^%s*$") then
|
if not line:match("^%s*#") and not line:match("^%s*$") then
|
||||||
coroutine.yield(line)
|
coroutine.yield(line)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user