From 7d1c26968cdd039397494374d909f469e73316a4 Mon Sep 17 00:00:00 2001 From: nnposter Date: Wed, 8 Jun 2022 23:10:28 +0000 Subject: [PATCH] Use promiscuous mode in broadcast-dhcp-discover. Closes #2470 --- scripts/broadcast-dhcp-discover.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/broadcast-dhcp-discover.nse b/scripts/broadcast-dhcp-discover.nse index 2375c9a93..c2f8a9cb0 100644 --- a/scripts/broadcast-dhcp-discover.nse +++ b/scripts/broadcast-dhcp-discover.nse @@ -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