Nmap Development mailing list archives

[NSE] Error on hostmap-ip2hosts script


From: "Mr. Doel" <doel () mc-crew or id>
Date: Wed, 18 May 2016 08:46:46 +0700

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

$ nmap --script hostmap-ip2hosts -p80,443 -T4 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):
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</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</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</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</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/

Current thread: