-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'MAC Address' argument option to dhcp-discover script #1838
Comments
I will take this on. Stay tuned... |
Great, thanks! |
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:
Caveats:
Example:
|
Outstanding work, thank you! |
Please test, provide feedback and/or close the issue if satisfied |
As for Nmap 7.80, the command |
Also, the script trace shows that the UDP package is sent with source address 0.0.0.0. However, it's has been changed to the actual IP when captured on the Wireshark. |
I have re-validated that both scripts are working as expected. The DHCP server is correctly picking up and responding to this random MAC address. Please make sure that you are inspecting field
Please create a new issue. Do not treat this closed issue as a catch-all. |
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?
e.g.
nmap -sU -p 67 --script=dhcp-discover -m '80:ce:62:e4:6e:f5'
Thanks.
Regards,
Paully
The text was updated successfully, but these errors were encountered: