mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Make robots.txt.nse be silent instead of printing reports for a file with no
disallowed entries
This commit is contained in:
parent
7b68aaa455
commit
5725a169bf
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue