1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-29 09:39:03 +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

@@ -1,5 +1,8 @@
# Nmap Changelog ($Id$); -*-text-*-
o [NSE] Turned on promiscuous mode in targets-sniffer.nse so that it
finds packets not only from or to the scanning host. [David]
o [NSE] Added scripts that grab information from the HTTP servers on
various ports used by Apache Hadoop and HBase.
- hadoop-datanode-info.nse

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