1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 06:29:03 +00:00

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

@@ -241,6 +241,9 @@ o Upgraded the OpenSSL shipped for Windows to 0.9.8i. [Kris]
o The SSLv2-support NSE script no longer prints duplicate cyphers if
they exist in the server's supported cypher list. [Kris]
o The robots.txt NSE script is now silent instead of printing "is empty
or has no disallowed entries". [Kris]
o Updated IANA assignment IP list for random IP (-iR)
generation. [Kris]

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