mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Use promiscuous mode in broadcast-dhcp-discover. Closes #2470
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user