JSONIP Simple Alternative

JSONIP.com is simple yet brilliant.
it just response with an IP, in a JSON format, or JavaScript (for callback).

or http://jsonip.com/?callback=aaa

this enables either mobile or web applications to use some more extensive information,
as part of analytics and track the IP, along with other parameters..

its so simple to generate the same result using a PHP script,
optionally wrapping it with callback.

this aside, the service is totally unprotected, and can be EASILY be used to inject JavaScript code,
at client-side.

for example:

will generate:

<script>(function(){alert("you suck as a service!");}())</script>console.log({"ip":"","about":"/about","Pro!":"http://getjsonip.com"})

ready to be executed..