[kismac] New vendor.db

  • From: themacuser <themacuser@xxxxxxxxx>
  • To: kismac@xxxxxxxxxxxxx
  • Date: Mon, 3 Oct 2005 20:26:12 +0930

I made a shell script to parse the IEEE's list of MAC address/Vendors.

#!/bin/bash
rm $2
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" >> $2
echo "<!DOCTYPE plist SYSTEM \"file://localhost/System/Library/DTDs/ PropertyList.dtd\">" >> $2
echo "<plist version=\"0.9\">" >> $2
echo "<dict>" >> $2
cat $1 | grep "base 16" | grep -v "PRIVATE\
" | awk '{print "\t<key>" substr($1,1,2) ":" substr($1,3,2) ":" substr ($1,5,2) "</key>"} {print "\t<string>" $4 " " $5 " " $6 " \
" $7 " " $8 " " $9 " " $10 "</string>"}' | tr -s " " | tr -dc "[:alnum:]:<>\n /" >> $2
echo "</dict>" >> $2
echo "</plist>" >> $2


It works great. I got out a long capture file and it identified all the base stations - not one unknown. I tried it with the regular KisMac and over half of them were unknown.

The IEEE's list can be obtained here: http://standards.ieee.org/ regauth/oui/oui.txt

How do you like it? 8640 vendors compared to 297.

I'll make a few adjustments to it so it includes broadcast etc...

Other related posts:

  • » [kismac] New vendor.db