久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  1. <tfoot id='atDQS'></tfoot>

      <bdo id='atDQS'></bdo><ul id='atDQS'></ul>
    <i id='atDQS'><tr id='atDQS'><dt id='atDQS'><q id='atDQS'><span id='atDQS'><b id='atDQS'><form id='atDQS'><ins id='atDQS'></ins><ul id='atDQS'></ul><sub id='atDQS'></sub></form><legend id='atDQS'></legend><bdo id='atDQS'><pre id='atDQS'><center id='atDQS'></center></pre></bdo></b><th id='atDQS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='atDQS'><tfoot id='atDQS'></tfoot><dl id='atDQS'><fieldset id='atDQS'></fieldset></dl></div>
  2. <legend id='atDQS'><style id='atDQS'><dir id='atDQS'><q id='atDQS'></q></dir></style></legend>

    <small id='atDQS'></small><noframes id='atDQS'>

      使用 Google Geolocation API 通過 MAC 地址對 802.11 接入

      Geolocating 802.11 access points by MAC address using Google Geolocation API(使用 Google Geolocation API 通過 MAC 地址對 802.11 接入點進行地理定位)

    1. <i id='7QsT7'><tr id='7QsT7'><dt id='7QsT7'><q id='7QsT7'><span id='7QsT7'><b id='7QsT7'><form id='7QsT7'><ins id='7QsT7'></ins><ul id='7QsT7'></ul><sub id='7QsT7'></sub></form><legend id='7QsT7'></legend><bdo id='7QsT7'><pre id='7QsT7'><center id='7QsT7'></center></pre></bdo></b><th id='7QsT7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7QsT7'><tfoot id='7QsT7'></tfoot><dl id='7QsT7'><fieldset id='7QsT7'></fieldset></dl></div>

            <tbody id='7QsT7'></tbody>
          <legend id='7QsT7'><style id='7QsT7'><dir id='7QsT7'><q id='7QsT7'></q></dir></style></legend>

          <small id='7QsT7'></small><noframes id='7QsT7'>

        • <tfoot id='7QsT7'></tfoot>
            <bdo id='7QsT7'></bdo><ul id='7QsT7'></ul>
              1. 本文介紹了使用 Google Geolocation API 通過 MAC 地址對 802.11 接入點進行地理定位的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                現在大多數瀏覽器都內置了對 Google Geolocation API 的支持.他們通過向 Google 發送附近 802.11 接入點(其信標被您的計算機捕獲的那些)的 MAC 地址來做到這一點.

                Support for the Google Geolocation API is now built in to most browsers. They do this, in part, by sending to Google the MAC address of nearby 802.11 access points (those whose beacons are captured by your computer.)

                我有大量從不同位置捕獲的 802.11 數據包.我正在尋找 802.11 接入點的地理定位.假設我們只有他們的 mac 地址.這應該可以通過使用 Google Geolocation API 來實現.

                I have a large number of 802.11 packets captured from various locations. I'm looking to geolocate the 802.11 access points. Assume that we only have their mac addresses. This should be possible by using the Google Geolocation API.

                迄今為止我發現可能對此有所幫助的來源包括:

                Sources that I've found to date that might be helpful on this include:

                • 來自 Mozilla 1.9.1 代碼庫的地理定位源代碼
                • 關于監控 WiFi 接入點的 MDN 文章
                • MDN 關于使用地理位置的文章
                • Mozilla WebDev 關于在瀏覽器中使用地理定位的文章

                第一個可能是最好的選擇.問題是,我不確定如何使用那里的示例并實際創建一個程序,讓我通過管道輸入 MAC 地址并輸出緯度/經度對.我也不確定如何從 Unix/MacOS 命令行運行 JavaScript.

                The first is probably the best bet. Problem is, I'm not sure how to use the example there and actually create a program that lets me pipe in the MAC addresses and output lat/long pairs. I'm also not sure how to run JavaScript from a Unix/MacOS command line.

                我知道這有很多問題要問,但是有人知道我應該從哪里開始嗎?

                I know that this is a lot to ask, but does anybody have any clue where I should start?

                推薦答案

                <?php
                
                $mac = $_SERVER['argv'][1];
                
                
                $postData = '{
                    "version": "1.1.0", 
                    "wifi_towers": [{
                        "mac_address": "' . $mac . '", 
                        "ssid": "0", 
                        "signal_strength":-72
                    }]
                }';
                
                $opts = array(
                  'http'=>array(
                    'method' => "POST",
                    'header'  => 'Content-type: application/x-www-form-urlencoded',
                    'content' => $postData
                  )
                );
                
                
                $response = file_get_contents(
                    'http://www.google.com/loc/json', 
                    false, 
                    stream_context_create($opts)
                );
                
                $loc = json_decode($response, true);
                
                echo $loc['location']['latitude'];
                echo ',';
                echo $loc['location']['longitude'];
                

                命令行用法:

                php geo.php "mac addy here"
                

                這篇關于使用 Google Geolocation API 通過 MAC 地址對 802.11 接入點進行地理定位的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Use IScroll in Angular 2 / Typescript(在 Angular 2/Typescript 中使用 IScroll)
                anime.js not working in Ionic 3 project(Anime.js 在 Ionic 3 項目中不起作用)
                Ionic 3 - Update Observable with Asynchronous Data(Ionic 3 - 使用異步數據更新 Observable)
                Angular 2: file not found on local .json file(Angular 2:在本地 .json 文件中找不到文件)
                In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創建使用 Ionic 組件的自定義指令?)
                Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動態元素 - Angular 2 amp;離子2)
                  <tfoot id='sYWjt'></tfoot>
                  <i id='sYWjt'><tr id='sYWjt'><dt id='sYWjt'><q id='sYWjt'><span id='sYWjt'><b id='sYWjt'><form id='sYWjt'><ins id='sYWjt'></ins><ul id='sYWjt'></ul><sub id='sYWjt'></sub></form><legend id='sYWjt'></legend><bdo id='sYWjt'><pre id='sYWjt'><center id='sYWjt'></center></pre></bdo></b><th id='sYWjt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='sYWjt'><tfoot id='sYWjt'></tfoot><dl id='sYWjt'><fieldset id='sYWjt'></fieldset></dl></div>
                  1. <small id='sYWjt'></small><noframes id='sYWjt'>

                    • <bdo id='sYWjt'></bdo><ul id='sYWjt'></ul>
                      <legend id='sYWjt'><style id='sYWjt'><dir id='sYWjt'><q id='sYWjt'></q></dir></style></legend>

                            <tbody id='sYWjt'></tbody>
                          主站蜘蛛池模板: 国产日韩欧美在线 | 亚洲一在线| 国产乱码精品一区二区三区五月婷 | 蜜桃在线播放 | 91精品国产综合久久福利软件 | 久艹av | 亚洲成人精品国产 | 蜜桃日韩 | 日日噜噜夜夜爽爽狠狠 | 成人午夜视频在线观看 | 久久精品网 | 日韩精品中文字幕一区二区三区 | 中文字幕精 | 国产欧美日韩一区 | 亚洲精品一区二区另类图片 | 日本欧美在线视频 | 四虎影院新网址 | 精品国产一区二区三区久久久四川 | 日韩成人在线电影 | 欧美国产精品一区二区三区 | 国产精品久久久久久亚洲调教 | 国产高清精品一区二区三区 | 日韩中文字幕在线视频 | 七七婷婷婷婷精品国产 | 日韩在线一区二区三区 | 日本电影网站 | 影音先锋中文字幕在线观看 | 日韩在线国产 | 国产日韩一区二区三免费高清 | 成年网站在线观看 | 成人在线播放 | 精品一区二区三区在线观看国产 | 亚洲综合色婷婷 | a毛片视频网站 | av一区二区在线观看 | 九九免费| 华人黄网站大全 | 欧美一区二区三区在线观看 | 综合色久 | 日韩欧美一区二区三区在线播放 | 亚洲成网|