i've posted the ips on pastebin because there're too many for a single thread post
enjoy
http://pastebin.com/gpAsAgRd
Take a look at this:
The other IPs from your list are from Zurich
The others are from US, Ukraine and Gibraltar.
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
$bannedHosts = array('example-host.com', 'example-host-2.net');
//See [1]
$userIP = $_SERVER['REMOTE_ADDR'];
//See [2]
//Get the NastyHosts response
$nastyHostsResponse = json_decode(file_get_contents('http://v1.nastyhosts.com/' . $userIP));
//Now check if the hostname is in the array
foreach($bannedHosts as $host){
if(strpos($nastyHostsResponse, $host) !== false){
//Something has been found
die('Banned Hostname.');
}
}
?>
function checkHostname($username, $db) {
$allow = true;
$lines = file('/var/scripts/listOfHosts.txt');
$ip = get_ip();
$match = LookupIP($ip);
foreach ($lines as $line) {
if (strpos($match, $msg = preg_replace("#[\r\n]#", '', $line)) > -1) {
return false;
}
}
return $allow;
}
function LookupIP($ip) {
$whoisservers = array(
//"whois.afrinic.net", // Africa - returns timeout error :-(
"whois.lacnic.net", // Latin America and Caribbean - returns data for ALL locations worldwide :-)
"whois.arin.net"
);
$results = array();
foreach($whoisservers as $whoisserver) {
$result = QueryWhoisServer($whoisserver, $ip);
if($result && !in_array($result, $results)) {
$results[$whoisserver] = $result;
}
}
$res = "\n--------START--------\n";
foreach($results as $whoisserver=>$result) {
$res .= "\n\n-------------\nLookup results for " . $ip . " from " . $whoisserver . " server:\n\n" . $result;
}
return $res;
}
function checkHostname($username, $db) {
$allow = true;
$lines = file('/var/scripts/listOfHosts.txt');
$ip = get_ip();
$match = LookupIP($ip);
foreach ($lines as $line) {
if (strpos($match, $msg = preg_replace("#[\r\n]#", '', $line)) > -1) {
return false;
}
}
return $allow;
}
function LookupIP($ip) {
$whoisservers = array(
//"whois.afrinic.net", // Africa - returns timeout error :-(
"whois.lacnic.net", // Latin America and Caribbean - returns data for ALL locations worldwide :-)
"whois.arin.net"
);
$results = array();
foreach($whoisservers as $whoisserver) {
$result = QueryWhoisServer($whoisserver, $ip);
if($result && !in_array($result, $results)) {
$results[$whoisserver] = $result;
}
}
$res = "\n--------START--------\n";
foreach($results as $whoisserver=>$result) {
$res .= "\n\n-------------\nLookup results for " . $ip . " from " . $whoisserver . " server:\n\n" . $result;
}
return $res;
}