1
0
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:
david
2011-11-08 16:10:35 +00:00
parent ab447ef92c
commit fddfd9b0e6
2 changed files with 4 additions and 1 deletions

View File

@@ -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