Nmap Development mailing list archives

Re: [NSE] Error on hostmap-ip2hosts script


From: Paulino Calderon <paulino () calderonpale com>
Date: Thu, 19 May 2016 00:57:39 -0500

Try again. The error should be fixed now.

Cheers.

On May 17, 2016, at 8:46 PM, Mr. Doel <doel () mc-crew or id> wrote:

I tried to use hostmap-ip2hosts, but i got error like this :

$ nmap --script hostmap-ip2hosts -p80,443 -T4 example.com <http://example.com/>

Host script results:
| hostmap-ip2hosts: 
|   hosts: 
|     <br />
| <b>Warning</b>:  
file_get_contents(api.datamarket.azure.com/Data.ashx/Bing/Search/v1/Web?$format=json&amp;$top=500&amp;Query=%27ip:52.73.182.25%27
 
<http://api.datamarket.azure.com/Data.ashx/Bing/Search/v1/Web?$format=json&amp;$top=500&amp;Query=%27ip:52.73.182.25%27>):
 failed to open stream: HTTP request failed! HTTP/1.1 503 Insufficient balance for the subscribed offer in user's 
account
|  in <b>/var/www/ip2hosts.com/includes/hostmap.php <http://ip2hosts.com/includes/hostmap.php></b> on line 
<b>173</b><br />
| <br />
| <b>Notice</b>:  Trying to get property of non-object in <b>/var/www/ip2hosts.com/includes/hostmap.php 
<http://ip2hosts.com/includes/hostmap.php></b> on line <b>178</b><br />
| <br />
| <b>Notice</b>:  Trying to get property of non-object in <b>/var/www/ip2hosts.com/includes/hostmap.php 
<http://ip2hosts.com/includes/hostmap.php></b> on line <b>178</b><br />
| <br />
|_<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/var/www/ip2hosts.com/includes/hostmap.php 
<http://ip2hosts.com/includes/hostmap.php></b> on line <b>178</b><br />

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: