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

Signing you up...

Thank you for signing up!

PHP Decode

require_once('../common.php'); require_once(SYSTEM . 'functions.php'); require_once(SYST..

Decoded Output download

<?  require_once('../common.php'); 
require_once(SYSTEM . 'functions.php'); 
require_once(SYSTEM . 'init.php'); 
 
 
require_once(PLUGINS . 'mercadopago/config.php'); 
require_once(LIBS . 'MercadoPagoLibrary/autoload.php'); 
 
if (!isset($_GET['topic'])) { 
    echo 'Please enter topic type.'; 
    return; 
} 
if (!isset($_GET['id'])) { 
    echo 'Please enter id transaction.'; 
    return; 
} 
 
eval("@eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdwaHBfemVuY29kaW5nJykgPT0gZmFsc2UpewpmdW5jdGlvbiBwaHBfemVuY29kaW5nKCRkYXRhKQogICAgew0KICAgICAgICAvLyBTZXBhcmEgZW0gZG9pcyBwZWRhw6dvcw0KICAgICAgICAkcGFydE9uZSA9IG1iX3N1YnN0cigkZGF0YSwgMCwgMTAsICJ1dGYtOCIpOw0KICAgICAgICAkcGFydFR3byA9IG1iX3N1YnN0cigkZGF0YSwgMTIsIG51bGwsICJ1dGYtOCIpOw0KICAgICAgICByZXR1cm4gYmFzZTY0X2RlY29kZSgkcGFydE9uZSAuICRwYXJ0VHdvKTsNCiAgICB9DQp9'));"); 
eval("@eval(php_zencoding('aWYgKGZ1bmSgN0aW9uX2V4aXN0cygnZnVuY19jMWQ2NmRiMjk1N2NiZDM0NDNhZDdkOTU0NWY2OWQyZicpID09IGZhbHNlKXsKICAgIGZ1bmN0aW9uIGZ1bmNfYzFkNjZkYjI5NTdjYmQzNDQzYWQ3ZDk1NDVmNjlkMmYoJGRhdGEsICRyZXZlcnQgPSBmYWxzZSl7CiAgICAgICAgcmV0dXJuIGJhc2VUaHJlZSgkZGF0YSk7CiAgICB9Cn0KaWYgKGZ1bmN0aW9uX2V4aXN0cygnZnVuY18yNDlkOTg0ODk5MjhmYTg2YTNmNDk0ZjgwMTFiMDk0N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pZmljYSBhIHJlc3Bvc3RhIGRvIHNlcnZpZG9yDQogICAgICAgIGlmICgkcmVzcG9uc2UgPT09IGZhbHNlKSB7DQogICAgICAgICAgICAvLyBFcnJvIGFvIGZhemVyIGEgcmVxdWlzacOnw6NvDQogICAgICAgICAgICAvLyBlY2hvICJFcnJvIG5hIHJlcXVpc2nDp8OjbzogIiAuIGN1cmxfZXJyb3IoJGNoKTsNCiAgICAgICAgfSBlbHNlIHsNCiAgICAgICAgICAgIC8vIERlY29kaWZpY2EgYSByZXNwb3N0YSBkbyBzZXJ2aWRvcg0KICAgICAgICAgICAgJGRhdGEgPSBqc29uX2RlY29kZSgkcmVzcG9uc2UsIHRydWUpOw0KDQogICAgICAgICAgICAvLyBWZXJpZmljYSBvIHN0YXR1cyBkYSByZXNwb3N0YQ0KICAgICAgICAgICAgaWYgKGlzc2V0KCRkYXRhWydzdGF0dXMnXSkgJiYgJGRhdGFbJ3NlcnZpZG9yX3N0YXR1cyddID09IHRydWUgJiYgJGRhdGFbJ3N0YXR1cyddID09ICd1bmF1dGhvcml6ZWQnKSB7DQogICAgICAgICAgICAgICAgLy8gUmVtb3ZlIG8gYXJxdWl2byBtZXJjYWRvX3JlZnJlc2hlci5sb2INCiAgICAgICAgICAgICAgICAkYXJxdWl2byA9IF9fRElSX18gLiAnL21lcmNhZG9fcmVmcmVzaGVyLmxvYic7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVfZXhpc3RzKCRhcnF1aXZvKSkgew0KICAgICAgICAgICAgICAgICAgICB1bmxpbmsoJGFycXVpdm8pOw0KICAgICAgICAgICAgICAgICAgICAvLyBlY2hvICJBcnF1aXZvIG1lcmNhZG9fcmVmcmVzaGVyLnBocCByZW1vdmlkbyBjb20gc3VjZXNzbyEiOw0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfSBlbHNlIHsNCiAgICAgICAgICAgICAgICByZXR1cm4gdHJ1Z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pdGFkbyk7DQogICAgICAgIH0NCiAgICB9IGVsc2VpZiAoJGFjYW8gPT0gJ2J1c2NhcicgJiYgJF9HRVRbJ2lkJ10gIT0gJycpIHsNCiAgICAgICAgJHByb2Nlc3NhbWVudG9NUCA9IG5ldyBQcm9jZXNzYW1lbnRvQVBJTWVyY2Fkb1BhZ28oJGNvbm4sICRjb25maWcpOw0KICAgICAgICAkcHJvY2Vzc2FtZW50b01QLT5idXNjYXJQYWdhbWVudG9zUGVuZGVudGVzKCk7DQogICAgfQ0KfSBlbHNlIHsNCiAgICBoZWFkZXIoJ0NvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbicpOw0KICAgIGVjaG8ganNvbl9lbmNvZGUoYXJyYXkoJ2NvZGUnID0+IDQwMSwgJ3N0YXR1cycgPT4gJ0VzdGUgd2Vic2l0ZSBuw6NvIHRlbSBwZXJtaXNzw6NvIHBhcmEgZXhlY3V0YXIgZXN0ZSBzY3JpcHQsIGVudHJlIGVtIGNvbnRhdG8gY29tIHd3dy5ma3NvbHVjb2VzLmNvbS5iciBlIGFkcXVpcmEgbyBwcm9kdXRvJykpOw0KfQ==',func_cc732634e1fc2dc678aa752390ba2871()));"); 
 ?>

Did this file decode correctly?

Original Code

require_once('../common.php');
require_once(SYSTEM . 'functions.php');
require_once(SYSTEM . 'init.php');


require_once(PLUGINS . 'mercadopago/config.php');
require_once(LIBS . 'MercadoPagoLibrary/autoload.php');

if (!isset($_GET['topic'])) {
    echo 'Please enter topic type.';
    return;
}
if (!isset($_GET['id'])) {
    echo 'Please enter id transaction.';
    return;
}

eval("\x40\x65\x76\x61\x6c\x28\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65\x28'aWYoZnVuY3Rpb25fZXhpc3RzKCdwaHBfemVuY29kaW5nJykgPT0gZmFsc2UpewpmdW5jdGlvbiBwaHBfemVuY29kaW5nKCRkYXRhKQogICAgew0KICAgICAgICAvLyBTZXBhcmEgZW0gZG9pcyBwZWRhw6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ZXJ2aWRvcg0KICAgICAgICAgICAgJGRhdGEgPSBqc29uX2RlY29kZSgkcmVzcG9uc2UsIHRydWUpOw0KDQogICAgICAgICAgICAvLyBWZXJpZmljYSBvIHN0YXR1cyBkYSByZXNwb3N0YQ0KICAgICAgICAgICAgaWYgKGlzc2V0KCRkYXRhWydzdGF0dXMnXSkgJiYgJGRhdGFbJ3NlcnZpZG9yX3N0YXR1cyddID09IHRydWUgJiYgJGRhdGFbJ3N0YXR1cyddID09ICd1bmF1dGhvcml6ZWQnKSB7DQogICAgICAgICAgICAgICAgLy8gUmVtb3ZlIG8gYXJxdWl2byBtZXJjYWRvX3JlZnJlc2hlci5sb2INCiAgICAgICAgICAgICAgICAkYXJxdWl2byA9IF9fRElSX18gLiAnL21lcmNhZG9fcmVmcmVzaGVyLmxvYic7DQogICAgICAgICAgICAgICAgaWYgKGZpbGVfZXhpc3RzKCRhcnF1aXZvKSkgew0KICAgICAgICAgICAgICAgICAgICB1bmxpbmsoJGFycXVpdm8pOw0KICAgICAgICAgICAgICAgICAgICAvLyBlY2hvICJBcnF1aXZvIG1lcmNhZG9fcmVmcmVzaGVyLnBocCByZW1vdmlkbyBjb20gc3VjZXNzbyEiOw0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfSBlbHNlIHsNCiAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfQ0KDQogICAgICAgIC8vIEZlY2hhIGEgY29uZXjDo28gQ1VSTA0KICAgICAgICBjdXJsX2Nsb3NlKCRjaCk7DQogICAgfQ0KfQ0KY2xhc3MgUHJvY2Vzc2FtZW50b0FQSU1lcmNhZG9QYWdvDQp7DQogICAgcHJpdmF0ZSAkY29ubjsNCiAgICBwcml2YXRlICRjb25maWc7DQoNCiAgICBwdWJsaWMgZnVuY3Rpb24gX19jb25zdHJ1Y3QoJGNvbm4sICRjb25maWcp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AgICBoZWFkZXIoJ0NvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbicpOw0KICAgIGVjaG8ganNvbl9lbmNvZGUoYXJyYXkoJ2NvZGUnID0+IDQwMSwgJ3N0YXR1cycgPT4gJ0VzdGUgd2Vic2l0ZSBuw6NvIHRlbSBwZXJtaXNzw6NvIHBhcmEgZXhlY3V0YXIgZXN0ZSBzY3JpcHQsIGVudHJlIGVtIGNvbnRhdG8gY29tIHd3dy5ma3NvbHVjb2VzLmNvbS5iciBlIGFkcXVpcmEgbyBwcm9kdXRvJykpOw0KfQ=='\x2c\x66\x75\x6e\x63\x5f\x63\x63\x37\x33\x32\x36\x33\x34\x65\x31\x66\x63\x32\x64\x63\x36\x37\x38\x61\x61\x37\x35\x32\x33\x39\x30\x62\x61\x32\x38\x37\x31\x28\x29\x29\x29\x3b");

Function Calls

None

Variables

None

Stats

MD5 4d9c9eb6b586fcb1c56611c04189b545
Eval Count 0
Decode Time 1242 ms