1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

Check if we have an interface to work with in the prerule of

targets-sniffer.nse.
This commit is contained in:
david
2011-04-05 06:12:02 +00:00
parent 067d7d9660
commit d0bcacd18a

View File

@@ -58,7 +58,7 @@ local function get_ip_addresses(layer3)
end
prerule = function()
return true
return stdnse.get_script_args("targets-sniffer.iface") or nmap.get_interface()
end