A workaround, provided you don't require the source MAC address to be correct for the executing machine:
nmap -sU -p 67 --script=dhcp-discover --script-args=randomize_mac=true <target-server>
Depending on your use case, an alternative could be to use the broadcast DHCP script:
nmap --script=broadcast-dhcp-discover
A workaround, provided you don't require the source MAC address to be correct for the executing machine:
nmap -sU -p 67 --script= dhcp-discover --script- args=randomize_ mac=true <target-server>
Depending on your use case, an alternative could be to use the broadcast DHCP script:
nmap --script= broadcast- dhcp-discover