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