Scapy retrieve value of a DHCP option

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Scapy retrieve value of a DHCP option



I want to retrieve numbers corresponding to DHCP options of DHCP requests using Scapy.



I don't really care of what is the field value of the DHCP option, I want to retrieve what are the options used.



In Wireshark I can see that each option has a corresponding number for instance "DHCP Message Type" is 53.



In Scapy I am able to retrieve Message Type and its value but I cannot get 53.



Is there a way to retrieve the corresponding number of a DHCP option ?



Thanks a lot









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name