diff --git a/ipb.php b/ipb.php index 7e279c5..44d4d77 100644 --- a/ipb.php +++ b/ipb.php @@ -165,6 +165,11 @@ Utils.callService('ping', 'id='+uuid+'&time='+time+'&rnd='+Utils.generateUUID(), null, function(data){ successCallback(data.valid); }, failureCallback); + }, + callWhoisService : function(ip, successCallback, failureCallback){ + Utils.callService('ipwhois', 'ip='+ip, null, function(data){ + successCallback(data.whoisResults); + }, failureCallback); } }, @@ -271,9 +276,14 @@ }, { name : 'whois.com', url : 'https://www.whois.com/whois/'+ip + }, { + name : 'ripe.net statistics', + url : 'https://stat.ripe.net/'+ip }]; //http://freegeoip.net/json/83.65.190.82 //https://stackoverflow.com/questions/17290256/get-google-map-link-with-latitude-longitude + //https://apps.db.ripe.net/search/query.html?searchtext=83.65.190.82&bflag=false&source=RIPE#resultsAnchor#resultsAnchor + //https://whois.arin.net/rest/nets;q=8.8.8.8?showDetails=true&showARIN=false&showNonArinTopLevelNet=false&ext=netref2 var list = ''; ipAnalyzeServiceList.forEach(function(ipAnalyzeService){ @@ -300,7 +310,7 @@ var domId = Utils.generateUUID(); $('#reportsDiv').prepend( $('
').append( - $('