Ticket #352 (new enhancement)
Function Addon: GetMulticastMAC()
| Reported by: | ffranz <ffranz@…> | Owned by: | pbi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Scapy | Version: | 2.0.0.x |
| Keywords: | multicast, MAC, Addon, Volatile | Cc: |
Description
GetMulticastMAC()
This function provides a MAC address from the multicast MAC created by IANA. With a total of 66 111 possible MACs, the MAC can be random if the parameter is omitted or is zero. Also, you can obtain a MAC by index within the range 1-66111.For use in fuzzing probes.Develop in scapy-2.1.0.
Attached patch. More info: www.iniqua.com/labs
Examples: ...
/>>> print GetMulticastMAC(0)
ab:00:04:01:5e:43
/>>> help(GetMulticastMAC)
...
/>>> for i in range(66111): print GetMulticastMAC(i)
...
Cheers. ffranz.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.