Compare IPs to see if they are exposed

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
sjuaq
Forum Commoner
Posts: 33
Joined: Thu Aug 10, 2017 4:48 pm

Compare IPs to see if they are exposed

Post by sjuaq »

Hi,

I got an idea that uses 2 separate JSON query to retrieve the IP and use javascript to compare if the IP is exposed online.

The first JSON query gets the machine IP.
The Second JSON query gets the exposed IP.
The Javascript only compares both queries and inform the user.

It's a simple concept that has been used online by Bullguard but it's no longer working. This tool will be useful to many people that want to check if there device is exposed.

The first JSON Query:
https://freegeoip.net/json/

The second JSON Query:
https://api.shodan.io/shodan/host/searc ... =127.0.0.1

The Javascript will only compare and alert the user.

Thanks for all the help
Post Reply