mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 08:29:04 +00:00
Use promiscuous mode in targets-sniffer.nse.
This commit is contained in:
@@ -86,7 +86,7 @@ action = function()
|
||||
stdnse.print_debug(1,"Error - unable to open socket using interface %s",interface)
|
||||
return
|
||||
else
|
||||
sock:pcap_open(interface, 104, false , "ip")
|
||||
sock:pcap_open(interface, 104, true, "ip")
|
||||
stdnse.print_debug(1, "Will sniff for %s seconds on interface %s.", (timeout/1000),interface)
|
||||
|
||||
repeat
|
||||
|
||||
Reference in New Issue
Block a user