Join GitHub today
Add 'MAC Address' argument option to dhcp-discover script #1838
I am trying to test a DHCP server to see if a specific MAC address receives the correct IP address assignment.
Would it be possible to add a command line argument option to allow a MAC address to be specified?
nmap -sU -p 67 --script=dhcp-discover -m '80:ce:62:e4:6e:f5'
In commit r37878, scripts
Which of the two scripts to use depends on your specific situation. If the DHCP server is local to the scanner, or you want to follow the current DHCP relay agent path, then
You can run both: