Nmap Development mailing list archives
Re: [NSE] ip-geolocation
From: Gorjan Petrovski <mogi57 () gmail com>
Date: Tue, 21 Feb 2012 10:42:04 +0100
I've been rather busy lately, so I finally looked into this. It seems you haven't uploaded the Maxmind database, Mr. Blake, which is why the geolocation lookup didn't work. Cheers, Gorjan On Sun, Jan 15, 2012 at 3:36 PM, Gorjan Petrovski <mogi57 () gmail com> wrote:
Unfortunately I'll be unable to look into this for at least 10 days. If it's not solved by then I'll get right on it. Meanwhile, Mr. Blake, please send us the debugged output. On Sun, Jan 15, 2012 at 9:01 AM, <blake () marigoldtech com> wrote:I was testing the ip-geolocation scripts and I am unable to get theexpected output. Curious if this is a known issue or not:$ nmap -Pn -sn --script ip-geolocation-maxmind.nse scanme.nmap.org Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-15 14:56 ICT Nmap scan report for scanme.nmap.org (74.207.244.221) Host is up. Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds Same results (lack of) for ip-geolocation-ipinfodb.nse,ip-geolocation-geobytes.nse, ip-geolocation-ipinfodb.nse, ip-geolocation.nse,ip-geolocation-geoplugin.nse appears to be the only one that works asexpected:$ nmap -Pn -sn --script ip-geolocation-geoplugin.nse scanme.nmap.org Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-01-15 14:56 ICT Nmap scan report for scanme.nmap.org (74.207.244.221) Host is up. Host script results: | ip-geolocation-geoplugin: | 74.207.244.221 (scanme.nmap.org) | coordinates (lat,lon): 39.489898681641,-74.47730255127 |_ state: New Jersey, United States Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds I have not done extensive testing on these, but would be happy to helpwhere I can.On Jun 29, 2011, at 6:44 PM, Gorjan Petrovski wrote:Sorry I wasn't able to help you in time, it was sleeping time here. I'm writing to Quova and IPInfoDB right away. Gorjan On Wed, Jun 29, 2011 at 5:53 AM, Fyodor <fyodor () insecure org> wrote:On Tue, Jun 28, 2011 at 04:57:54PM -0700, Fyodor wrote:On Tue, Jun 28, 2011 at 04:46:17PM -0700, Fyodor wrote:On Tue, Jun 14, 2011 at 02:36:48PM +0200, Gorjan Petrovski wrote: Hi Gorjan. The ip-geolocation-quova includes three API keys that you apparently got by free registration. When you registered, did itmakeyou agree to any sort of terms of use? Does including these "secret_codes" in Nmap violate their terms? Even if we keep the API keys in there, the script should have an NSE argument for people to give their own keys instead. Can you add that and document it in the NSEDoc?These questions and the suggestion applies to the ip-geolocation-infodb database too.We needed to build a release, so David and I looked into this. Quova's makes you agree to their TOS in order to get an API key, and their TOS seems to pretty clearly ban this sort of usage (http://developer.quova.com/apps/tos). So we had to delete the script for now. Gorjan: Can you write them and ask for permission to use it in Nmap? They'll probably say no or ask for money (which means no in the case of a free tool like Nmap), but it doesn't hurt to ask. If they say no or don't answer, then we'll have to make it so that the script requires the user to input an API key as an NSE arg or by modifying the .nse. IPInfoDB, on the other hand, doesn't seem to have a clear policy against this. It didn't make me agree to anything when I tried registering. But would you (Gorjan) write to them and ask permission anyway? I've kept the script in for now, but we should do the same as Quova (require the user to provide a key) if IPInfoDB says that we can't redistribute a key in our script. Thanks, Fyodor-- Gorjan _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/-- Gorjan
-- Gorjan _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [NSE] ip-geolocation blake (Jan 15)
- Re: [NSE] ip-geolocation Gorjan Petrovski (Jan 15)
- Re: [NSE] ip-geolocation Gorjan Petrovski (Feb 21)
- Re: [NSE] ip-geolocation Gorjan Petrovski (Jan 15)