mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Note better way to scan all addresses in resolveall.nse
This commit is contained in:
parent
9778fd0021
commit
e8911a992c
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue