mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Use promiscuous mode in broadcast-dhcp-discover. Closes #2470
This commit is contained in:
parent
f0e85baf85
commit
7d1c26968c
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ action = function()
|
|||
|
||||
local sock, co
|
||||
sock = nmap.new_socket()
|
||||
sock:pcap_open(iface, 1500, false, "ip && udp dst port 68")
|
||||
sock:pcap_open(iface, 1500, true, "ip && udp dst port 68")
|
||||
co = stdnse.new_thread( dhcp_listener, sock, iface, macaddr, options, timeout, xid, result )
|
||||
threads[co] = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue