mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Check if we have an interface to work with in the prerule of
targets-sniffer.nse.
This commit is contained in:
parent
067d7d9660
commit
d0bcacd18a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue