Annotate MAC addresses with vendor names, similar to Wireshark captures, based on OUI/IAB data.
ouify.py
reads line separated MAC addresses from stdin
:
$ ouify.py < mac-addresses.txt
As shown below, MAC addresses in various formats are supported:
$ printf "F8:77:B8:C0:FF:EE\n0C3021fedabe\nFF-FF-FF-FF-FF-FF" | ouify.py
SamsungE_c0:ff:ee
Apple_fe:da:be
Broadcast_ff:ff:ff
-h, --help show this help message and exit
-f, --full print whole MAC address instead of suffix
-u, --update update Wireshark OUI definition file