|
O2 Script Tool - Find Physical Location via MAC Address using Google's APIs .h2 |
Si vous voulez bloquer ce service sur vos fils RSS
Si vous voulez nous contacter ou nous proposer un fil RSS
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
O2 Script Tool - Find Physical Location via MAC Address using Google's APIs .h2 Par Recent changes en Le [2010-10-05] à 04:36:25
Présentation : Created page with 'This script shows how to use the Google's GeoLocation APIs to find the current user's physical location using the user's router Mac Address usually a Wireless network . For mor ' New page This script shows how to use the Google's GeoLocation APIs to find the current user's physical location using the user's router Mac Address usually a Wireless network . For more details on how this works see Samy's http samy.pl bh10 How I meet your Girlfriend BlackHat OWASP Tour presentation or this page http www.samy.pl mapxss Screenshot - Image 10_5_2010_2_15_46_AM_tmp54F6.jpg Source code var topPanel O2Gui.open Tool - Find Physical Location via MAC Address using Google's APIs , 900,400 var noDataForMacAddress variable that will hold the default response to an not mapped mac address var tableList topPanel.add_TableList .add_Columns IP Address , MACAdress , type var browser tableList.insert_Right topPanel.width 2 .add_WebBrowser_Control var topRightPanel browser.insert_Above 100 var macAddress_TextBox topRightPanel.add_Label Mac Address .top 3 .append_TextBox .align_Right panel var jsonResponse_TextBox topRightPanel.add_Label Json Response ,25,0 .bringToFront .append_Control .multiLine .scrollBars .height 80 .align_Right topRightPanel .widthAdd -200 Action getLocalMacAddresses var arpResult Processes.startAsCmdExe arp , -a var lines arpResult.lines lines.remove 0 .remove 0 foreach var line in lines tableList.add_Row line.split_onSpace .Distinct .toList .remove Action showLocationInMap latitude, longitude var urlTemplate http maps.google.co.uk maps hl en q 0 1 .format latitude, longitude browser.open urlTemplate Func getLocationFromMac macAddress var url http www.google.com loc json var postData version 1.1.0 , request_address true, wifi_towers mac_address macAddress , ssid g , signal_strength -72 var response new Web .getUrlContents_POST url,postData return response Action showMacAddressLocation macAddress macAddress_TextBox.set_Text macAddress jsonResponse_TextBox.set_Text jsonResponse_TextBox.backColor Color.LightPink var response getLocationFromMac macAddress if response.contains noDataForMacAddress jsonResponse_TextBox.set_Text There was no data for this Mac address else if response.valid var jsonResponse JObject.Parse response if jsonResponse.str .valid jsonResponse_TextBox.set_Text jsonResponse.str var latitude jsonResponse location latitude .str var longitude jsonResponse location longitude .str found values latitude 0 longitude 1 .debug latitude,longitude showLocationInMap latitude,longitude jsonResponse_TextBox.backColor Color.White response.info else jsonResponse_TextBox.set_Text no data received tableList.afterSelect row if row.size 1 var selectedMacAddress row 0 .items 1 .Text showMacAddressLocation selectedMacAddress macAddress_TextBox.onEnter text showMacAddressLocation text.replace , - this gets a default request so that we can detect when there is no data in Google's Database noDataForMacAddress getLocationFromMac ff-ff-ff-ff-ff-ff if noDataForMacAddress.valid noDataForMacAddress.size 50 noDataForMacAddress noDataForMacAddress.Substring 0,noDataForMacAddress.size - 40 noDataForMacAddress.info getLocalMacAddresses showMacAddressLocation 00-11-24-ec-72-cf test with Samy's address from http www.samy.pl mapxss using Newtonsoft.Json.Linq O2Ref Newtonsoft.Json.dll
Les derniers articles du site " Recent changes en " :
- O2 Presentation at Event - User Fabricio - O2 Blog Entries - File 7 21 2011 1 00 59 PM tmp9003.jpg - File Open-source-icon-e1310696581917.png - File 7 21 2011 12 59 42 PM tmp3EAA.jpg - File 4 10 2011 7 38 23 AM tmp561C.jpg - File 4 10 2011 7 06 43 AM tmp616F.jpg - File 4 10 2011 7 14 27 AM tmp720B.jpg - Blog Post
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Si vous voulez bloquer ce service sur vos fils RSS :
- avec iptables "iptables -A INPUT -s 88.191.75.173 --dport 80 -j DROP"
- avec ipfw et wipfw "ipfw add deny from 88.191.75.173 to any 80"
- Nous contacter par mail
Mini-Tagwall des articles publiés sur SecuObs : | | | | sécurité, exploit, windows, attaque, outil, microsoft, réseau, audit, metasploit, vulnérabilité, système, virus, internet, usbsploit, données, source, linux, protocol, présentation, scanne, réseaux, scanner, bluetooth, conférence, reverse, shell, meterpreter, vista, rootkit, détection, mobile, security, malicieux, engineering, téléphone, paquet, trames, https, noyau, utilisant, intel, wishmaster, google, sysun, libre |
Mini-Tagwall de l'annuaire video : | | | | curit, security, biomet, metasploit, biometric, cking, password, windows, botnet, defcon, tutorial, crypt, xploit, exploit, lockpicking, linux, attack, wireshark, vmware, rootkit, conference, network, shmoocon, backtrack, virus, conficker, elcom, etter, elcomsoft, server, meterpreter, openvpn, ettercap, openbs, iphone, shell, openbsd, iptables, securitytube, deepsec, source, office, systm, openssh, radio |
Mini-Tagwall des articles de la revue de presse : | | | | security, microsoft, windows, hacker, attack, network, vulnerability, google, exploit, malware, internet, remote, iphone, server, inject, patch, apple, twitter, mobile, virus, ebook, facebook, vulnérabilité, crypt, source, linux, password, intel, research, virtual, phish, access, tutorial, trojan, social, privacy, firefox, adobe, overflow, office, cisco, conficker, botnet, pirate, sécurité |
Mini-Tagwall des Tweets de la revue Twitter : | | | | security, linux, botnet, attack, metasploit, cisco, defcon, phish, exploit, google, inject, server, firewall, network, twitter, vmware, windows, microsoft, compliance, vulnerability, python, engineering, source, kernel, crypt, social, overflow, nessus, crack, hacker, virus, iphone, patch, virtual, javascript, malware, conficker, pentest, research, email, password, adobe, apache, proxy, backtrack |
|
|
|
|
|