April 25th, 2014

(Script to) Locate Any WiFi Router By Its MAC Address

I saw a slashdot post earlier today about a not-so-secret API from SkyHook Wireless to Locate Any WiFi Router By Its MAC Address. I thought this was pretty cool and useful, so I wrote up a quick python hack/script that would use the API, and I thought that I’d add this as a wicrawl plug-in shortly. It takes the BSSID as an input, and outputs all of the information it finds, and also can output a google earth KML file to import the location.

I found the information amazingly and scarily accurate so far. When I check for my local Access Point it gives me my physical address (in addition to the coordinates) within two street numbers.

Here’s some anonymized output from the script:

./get-coordinates-from-bssid.py 00:11:22:33:aa:c6 ~/tmp/output.kml [*] City: Boston [*] Country: United States [*] Address: Fancy Pants Rd [*] Longitude: -70.17905 [*] County: Middlesex [*] State: Massachusetts [*] Output KML File: /Users/aaronp/tmp/output.kml [*] Street Number: 1337 [*] Postal Code: 02138 [*] Latitude: 40.3823964 [*] Finished..

Let me know if you find it in any way useful. I would guess though now that it’s been slashdot’d that the service will likely change as soon as people really start using it. Hopefully not though, :)

21 Responses to '(Script to) Locate Any WiFi Router By Its MAC Address'

  1. 1.:: Hackology Blog ::. – Get physical location of wireless router from its MAC address(BSSID)
    September 15th, 2008 at 11:02 am

    [...] http://midnightresearch.com/pages/locate-any-wifi-router-by-its-mac-address/ [...]


  2. 2Find a WiFi router by it’s MAC address | LiamM.com
    September 16th, 2008 at 11:02 am

    [...] a street address) given a BSSID (MAC address of a WiFi network). I stumbled on to a post on Midnight Research Labs in which they’ve provided a python script that you can use to access this [...]


  3. 3Dave’s Billboard
    September 23rd, 2011 at 7:16 am

    Its nice to have this kind information.Such a great facts to manipulate any WiFi router by its MACS.Thanks for posting this kind article its such big help.


  4. 4Marvin302
    April 26th, 2012 at 12:52 am

    wonderful issues altogether, you simply received a new reader. What might you suggest about your put up that you just made some days in the past? Any certain?


  5. 5Ivonne Toth
    April 28th, 2012 at 2:50 pm

    Good day very cool site!! Guy .. Beautiful .. Amazing .. I will bookmark your web site and take the feeds also?KI am satisfied to seek out so many useful information right here in the submit, we need work out extra techniques in this regard, thank you for sharing. . . . . . 11xxfad3d33c


  6. 6Tomiko Kilday
    December 23rd, 2012 at 3:57 pm

    Good ¡V I should certainly pronounce, impressed with your site. I had no trouble navigating through all tabs and related information ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Quite unusual. Is likely to appreciate it for those who add forums or something, site theme . a tones way for your client to communicate. Nice task..


  7. 7Maddison
    March 28th, 2013 at 12:05 am

    This is a little off subject, I realize — your post was good by the way!

    – however I was wondering just what I could do about fighting
    spam feedback. Seems to be way too many for my website to manage
    and I loathe going through every one of them manually just to find a good one or 2.


  8. 8Elmo Janeiro
    April 9th, 2013 at 9:10 pm

    Pretty part of content. I simply stumbled upon your weblog and in accession capital to claim that I get actually loved account your weblog posts. Anyway I’ll be subscribing to your augment or even I fulfillment you get entry to constantly fast.


  9. 9po?yczki bez bik mazowieckie
    June 13th, 2013 at 8:24 am

    May I simply say what a comfort to uncover someone that actually
    knows what they’re discussing online. You actually realize how to bring an issue to light and make it important. A lot more people must check this out and understand this side of the story. I can’t believe you aren’t more popular given that you definitely have the gift.


  10. 10Coffee Beans Extract
    June 21st, 2013 at 4:08 am

    Just a smiling visitant here to share the love (:, btw outstanding design. “Competition is a painful thing, but it produces great results.” by Jerry Flint.


  11. 11cheap ladies rolex
    July 5th, 2013 at 7:28 pm

    If you were thinking what are these different grades of Swiss language Rolex Online all about and that if these remarkable watches were available in different grades, be ready for a wonder. We are not talking about the veritable Rolexes but we are discussing about the swiss duplicate watches that are available online and are just referred to as swiss rolex watches. Swiss language watches are remarkable all more than the nature for the rigorous and elegant timepieces, hence it is not perplexing to see that the Swiss language Rolex online watches are not the only brand of duplicate watches and there are other brands available too like the ever-popular swiss omega watches. Now let us agitate a bit about the grades of these Swiss language Rolex Online.


  12. 12yamoulyss
    July 12th, 2013 at 11:07 pm

    I got the following error
    [!] There was an error from the sever: [403 Forbidden]
    any idea?


  13. 13used tv stands for sale
    July 20th, 2013 at 7:28 am

    Hi everybody, here every one is sharing these kinds
    of experience, therefore it’s nice to read this blog, and I used to visit this blog every day.


  14. 14vanity makeup mirrors
    July 22nd, 2013 at 3:28 pm

    In fact no matter if someone doesn’t understand after that its up to other viewers that they will assist, so here it occurs.


  15. 15bamboo tv stand
    July 29th, 2013 at 10:42 pm

    Hi there! I know this is somewhat off topic but I was wondering which blog platform are you using for this site?
    I’m getting sick and tired of WordPress because I’ve had issues
    with hackers and I’m looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform.


  16. 16click to investigate
    July 31st, 2013 at 11:17 am

    Hey would you mind sharing which blog platform you’re working with? I’m looking to start my own blog soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique.
    P.S Sorry for getting off-topic but I had to ask!


  17. 17jazoza
    November 6th, 2013 at 2:52 am

    i also get [403 Forbidden] error, I guess Skyhook has changed their request procedure. I have registered a realm and tried putting my details in the request but it did not help. There are a lot of posts on tools for querying skyhook and google for AP locations, all dated 2008 or so. Seems like these solutions are not functioning any more in 2013 :(


  18. 18call of duty nazi zombies
    December 3rd, 2013 at 9:32 pm

    Woah! I’m really loving the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance”
    between superb usability and visual appearance. I must
    say that you’ve done a superb job with this. Also, the blog loads super quick for me on Safari.
    Exceptional Blog!


  19. 19Medical device consulting services
    January 12th, 2014 at 7:48 pm

    We All literally praise to the author of the article. The way you summarize and displayed the piece of information that is magnificent. It sounds you have very deep information in the region of the article of the post.Each person may want to write, but the way the creator of blog post has got written it’s really might need time and versatility. Not everyone can craft with brilliant ideas neither versatility but you honestly have done a great job.I am really curious and would love to visit again and read your articles.


  20. 20Pure Life Cleanse Supplement
    February 6th, 2014 at 6:26 am

    Yesterday, while I was at work, my sister stole my apple
    ipad and tested to see if it can survive a 40 foot drop, just so she can be a youtube
    sensation. My apple ipad is now destroyed and she has 83 views.
    I know this is totally off topic but I had to share it with someone!


  21. 21WOW Gold
    April 24th, 2014 at 1:32 am

    safe power leveling and gold

    I feel very blessed to have used your webpages and look forward to plenty of more thrilling times reading here


Leave a Response

Imhotep theme designed by Chris Lin. Proudly powered by Wordpress.
XHTML | CSS | RSS | Comments RSS