1
0
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:
nnposter
2022-06-08 23:10:28 +00:00
parent f0e85baf85
commit 7d1c26968c

View File

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