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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user