1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 23:19:03 +00:00

Note better way to scan all addresses in resolveall.nse

This commit is contained in:
dmiller
2017-08-07 15:51:29 +00:00
parent 9778fd0021
commit e8911a992c

View File

@@ -120,6 +120,7 @@ preaction = function()
else
table.insert(output, "Use the 'newtargets' script-arg to add the results as targets")
end
table.insert(output, "Scanning 'hostname*all' will scan all resolved addresses for 'hostname' without using this script.")
return xmloutput, stdnse.format_output(true, output)
end
@@ -151,6 +152,7 @@ hostaction = function(host)
else
table.insert(output, "Use the 'newtargets' script-arg to add the results as targets")
end
table.insert(output, ("Scanning '%s*all' will scan all resolved addresses without using this script."):format(host.targetname))
return xmloutput, stdnse.format_output(true, output)
end