mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue