mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Use promiscuous mode in targets-sniffer.nse.
This commit is contained in:
parent
ab447ef92c
commit
fddfd9b0e6
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue