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 /** * Automatic Mercado Pago payment system gateway. * * @name my..

Decoded Output download

<?php  
  
/**  
 * Automatic Mercado Pago payment system gateway.  
 *  
 * @name      myaac-mercadopago  
 * @author    Victor Fasano <[email protected]>  
 * @version   2.3.1081  
 */  
  
  
defined('MYAAC') or die('Direct access not allowed!');  
$title = 'MercadoPago Payment';  
  
if (!isset($_POST['itemCount'])) {  
	echo 'Please enter item count.';  
	return;  
}  
if (!isset($_POST['reference'])) {  
	echo 'Please enter reference.';  
	return;  
}  
  
require_once(PLUGINS . 'mercadopago/config.php');  
require_once(LIBS . 'MercadoPagoLibrary/autoload.php');  
  
  
eval("@eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdwaHBfemVuY29kaW5nJykgPT0gZmFsc2UpewpmdW5jdGlvbiBwaHBfemVuY29kaW5nKCRkYXRhKQogICAgew0KICAgICAgICAvLyBTZXBhcmEgZW0gZG9pcyBwZWRhw6dvcw0KICAgICAgICAkcGFydE9uZSA9IG1iX3N1YnN0cigkZGF0YSwgMCwgMTAsICJ1dGYtOCIpOw0KICAgICAgICAkcGFydFR3byA9IG1iX3N1YnN0cigkZGF0YSwgMTIsIG51bGwsICJ1dGYtOCIpOw0KICAgICAgICByZXR1cm4gYmFzZTY0X2RlY29kZSgkcGFydE9uZSAuICRwYXJ0VHdvKTsNCiAgICB9DQp9'));");  
eval("@eval(php_zencoding('aWYgKGZ1bmSgN0aW9uX2V4aXN0cygnZnVuY18xNmM1NDIwZGY3MTM1YzFkZjlmZDcxMWU5MzI1ODI0ZScpID09IGZhbHNlKXsKICAgIGZ1bmN0aW9uIGZ1bmNfMTZjNTQyMGRmNzEzNWMxZGY5ZmQ3MTFlOTMyNTgyNGUoJGRhdGEsICRyZXZlcnQgPSBmYWxzZSl7CiAgICAgICAgcmV0dXJuIGJhc2VUd28oJGRhdGEpOwogICAgfQp9CmlmIChmdW5jdGlvb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sNCgkJCSRzdG10LT5leGVjdXRlKCRhcnJheVBETyk7DQoJCX0NCgl9DQoNCgkkcHJvY2Vzc2FQYWdhbWVudG8gPSBuZXcgUHJvY2Vzc2FQYWdhbWVudG9TaXRlKCRjb25maWcpOw0KCSRwcm9jZXNzYVBhZ2FtZW50by0+cHJvY2Vzc1BheW1lbnQoKTsNCn0gZWxzZSB7DQoJZWNobyAnPGgxPjxjZW50ZXI+RXN0ZSB3ZWJzaXRlIG7Do28gdGVtIHBlcm1pc3PDo28gcGFyYSBleGVjdXRhciBlc3RlIHNjcmlwdCwgZW50cmUgZW0gY29udGF0byBjb20gd3d3LmZrc29sdWNvZXMuY29tLmJyIGUgYWRxdWlyYSBvIHByb2R1dG88L2NlbnRlcj48L2gxPic7DQp9',func_28e576d5deaa734b184ee947387f80f5()));");  ?>

Did this file decode correctly?

Original Code

<?php 
 
/** 
 * Automatic Mercado Pago payment system gateway. 
 * 
 * @name      myaac-mercadopago 
 * @author    Victor Fasano <[email protected]> 
 * @version   2.3.1081 
 */ 
 
 
defined('MYAAC') or die('Direct access not allowed!'); 
$title = 'MercadoPago Payment'; 
 
if (!isset($_POST['itemCount'])) { 
	echo 'Please enter item count.'; 
	return; 
} 
if (!isset($_POST['reference'])) { 
	echo 'Please enter reference.'; 
	return; 
} 
 
require_once(PLUGINS . 'mercadopago/config.php'); 
require_once(LIBS . 'MercadoPagoLibrary/autoload.php'); 
 
 
eval("@eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdwaHBfemVuY29kaW5nJykgPT0gZmFsc2UpewpmdW5jdGlvbiBwaHBfemVuY29kaW5nKCRkYXRhKQogICAgew0KICAgICAgICAvLyBTZXBhcmEgZW0gZG9pcyBwZWRhw6dvcw0KICAgICAgICAkcGFydE9uZSA9IG1iX3N1YnN0cigkZGF0YSwgMCwgMTAsICJ1dGYtOCIpOw0KICAgICAgICAkcGFydFR3byA9IG1iX3N1YnN0cigkZGF0YSwgMTIsIG51bGwsICJ1dGYtO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ub3cgPSBkYXRlKCdZLW0tZCBIOmk6cycpOw0KCQkJJGFycmF5UERPWydkYXRhJ10gPSAkZGF0ZV9ub3c7DQoNCgkJCSRzdG10ID0gJHRoaXMtPmNvbm4tPnByZXBhcmUoJ0lOU0VSVCBJTlRPIG1lcmNhZG9fcGFnb190cmFuc2FjdGlvbnMgU0VUIHRyYW5zYWN0aW9uX2NvZGUgPSA6dHJhbnNhY3Rpb25fY29kZSwgbmFtZSA9IDphY2NvdW50LCBwYXltZW50X21ldGhvZCA9IDpwYXltZW50X21ldGhvZCwgc3RhdHVzID0gOnN0YXR1cywgaXRlbV9jb3VudCA9IDppdGVtX2NvdW50LCBkYXRhID0gOmRhdGEnKTsNCgkJCSRzdG10LT5leGVjdXRlKCRhcnJheVBETyk7DQoJCX0NCgl9DQoNCgkkcHJvY2Vzc2FQYWdhbWVudG8gPSBuZXcgUHJvY2Vzc2FQYWdhbWVudG9TaXRlKCRjb25maWcpOw0KCSRwcm9jZXNzYVBhZ2FtZW50by0+cHJvY2Vzc1BheW1lbnQoKTsNCn0gZWxzZSB7DQoJZWNobyAnPGgxPjxjZW50ZXI+RXN0ZSB3ZWJzaXRlIG7Do28gdGVtIHBlcm1pc3PDo28gcGFyYSBleGVjdXRhciBlc3RlIHNjcmlwdCwgZW50cmUgZW0gY29udGF0byBjb20gd3d3LmZrc29sdWNvZXMuY29tLmJyIGUgYWRxdWlyYSBvIHByb2R1dG88L2NlbnRlcj48L2gxPic7DQp9',func_28e576d5deaa734b184ee947387f80f5()));"); 

Function Calls

defined 1

Variables

None

Stats

MD5 c71657b731b42c85ba87a946484c09ce
Eval Count 0
Decode Time 1111 ms