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