Wednesday, September 29, 2010

Ubuntu 10.10 Mac Address to Location

Check out this humorous Video and give it a shot HERE Has Google Mapped your Mac? The Following Script was created by Pizza1337 HERE try not to burn it out.


#!/bin/bash
echo "MAC to Location"
echo "Enter MAC Address"
echo "Example: DE:AD:BE:EF:CA:FE or DE-AD-BE-EF-CA-FE"
echo -n "MAC: "
read mac
echo 
echo \<h1\> >> results.html
echo $mac >> results.html
echo \</h1\> >> results.html
curl http://samy.pl/mapxss/?mac=$mac |grep "street" >> results.html
echo \<hr /\> >> results.html
echo 
echo "Finished"
echo "If there is no location, invalid MAC or not found"