Make robots.txt.nse be silent instead of printing reports for a file with no

disallowed entries
This commit is contained in:
kris 2009-01-03 16:54:47 +00:00
parent 7b68aaa455
commit 5725a169bf
2 changed files with 4 additions and 1 deletions

View file

@ -81,7 +81,7 @@ action = function(host, port)
dis_count = parse_robots(answer.body, output)
if dis_count == 0 then
return "is empty or has no disallowed entries"
return
end
-- verbose/debug mode, print 50 entries