79168189

Date: 2024-11-07 21:59:57
Score: 1
Natty:
Report link

I just tested this. The correct way is with mac2str(...)

Example:

from scapy.utils import mac2str

srcmac = "aa:bb:cc:dd:ee:ff"
bootp = BOOTP(chaddr=mac2str(srcmac), xid=RandInt(), flags=0x8000)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HectorSerrano