1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Fix for http-wordpress-plugins by Daniel Miller.

http://seclists.org/nmap-dev/2012/q2/887
This commit is contained in:
david
2012-06-22 18:58:53 +00:00
parent ba5a79acdc
commit b6f66fba81

View File

@@ -55,7 +55,7 @@ portrule = shortport.service("http")
local function read_data_file(file)
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
coroutine.yield(line)
end