Skip to content

Instantly share code, notes, and snippets.

@fdophin
fdophin / macvdr.sh
Last active September 26, 2022 15:59
Bash script to Find MAC Address Vendors.
#!/bin/bash
color=`seq 2 255 | sort -R | head -n 1`
if [ $# != 1 ];
then
echo -e " usage: $0 <MAC addres> \n format: \n 00-11-22-33-44-55 \n 00-11-22-33-44-55 \n 00:11:22:33:44:55 \n 00.11.22.33.44.55 \n 001122334455 \n 0011.2233.4455"
exit 0
fi
GET_VDR=`curl -s http://api.macvendors.com/$1`