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 ${"G\x4c\x4fB\x41\x4c\x53"}["d\x75ht\x71\x61h\x76e\x73\x79"]="cp\x66";${"\x47L\x4f\x..

Decoded Output download

<?php ${"GLOBALS"}["duhtqahvesy"]="cpf";${"GLOBALS"}["ojxdwtkob"]="valor";${"GLOBALS"}["azfnygcihr"]="email";${"GLOBALS"}["qivwyppqkf"]="login";${"GLOBALS"}["ofhosqa"]="nome";${"GLOBALS"}["aqxqxdt"]="dataexpire";${"GLOBALS"}["vxllwicxnd"]="ipdominio";require_once"../vendor/autoload.php";require_once("system/seguranca.php");require_once("system/config.php");protegePagina("user");$hyhjjy="accessKEY";${"GLOBALS"}["vwjjernikuw"]="dataexpirefotmat";if($_POST["segmax"]!==${$hyhjjy}){expulsaVisitante();exit;}if($_POST["ipmax"]!==${${"GLOBALS"}["vxllwicxnd"]}){expulsaVisitante();exit;}${${"GLOBALS"}["aqxqxdt"]}=date("Y-m-d\TH:i:s",strtotime("+15 minutes"));${${"GLOBALS"}["vwjjernikuw"]}="$dataexpire.000-03:00";if(isset($_POST["botaopagar"])){$cmqtbmri="cpf";${$cmqtbmri}=$_POST["cpf"];$ountaqm="apimp";$axxueej="dataexpirefotmat";$sftcwpprydd="payment";$ldtmthrqgj="apimp";${${"GLOBALS"}["ofhosqa"]}=$_POST["nome"];${${"GLOBALS"}["qivwyppqkf"]}=$_POST["login"];$axeqwsishbc="apimp";${${"GLOBALS"}["azfnygcihr"]}=$_POST["email"];${$axeqwsishbc}=$_POST["apimp"];${${"GLOBALS"}["ojxdwtkob"]}=$_POST["valortotal"];MercadoPago\SDK::setAccessToken(${$ountaqm});${$sftcwpprydd}=new MercadoPago\Payment();$payment->date_of_expiration=${$axxueej};$payment->transaction_amount=${${"GLOBALS"}["ojxdwtkob"]};$payment->description="RENOVAR REVENDA";$payment->payment_method_id="pix";$payment->payer=array("email"=>${${"GLOBALS"}["azfnygcihr"]},"first_name"=>${${"GLOBALS"}["qivwyppqkf"]},"last_name"=>${${"GLOBALS"}["ofhosqa"]},"identification"=>array("type"=>"CPF","number"=>${${"GLOBALS"}["duhtqahvesy"]}),"address"=>array("zip_code"=>"06233200","street_name"=>"Av. das Naes Unidas","street_number"=>"3003","neighborhood"=>"Bonfim","city"=>"Osasco","federal_unit"=>"SP"));$payment->save();$_SESSION["apimp"]=${$ldtmthrqgj};$_SESSION["payment_id"]=$payment->id;$_SESSION["ticket_url"]=$payment->point_of_interaction->transaction_data->ticket_url;echo"<script type="text/javascript"> window.location=\"../home.php?page=renovar";</script>";} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4fB\x41\x4c\x53"}["d\x75ht\x71\x61h\x76e\x73\x79"]="cp\x66";${"\x47L\x4f\x42\x41\x4cS"}["\x6fj\x78\x64\x77\x74\x6b\x6f\x62"]="\x76\x61\x6c\x6fr";${"\x47\x4c\x4f\x42AL\x53"}["a\x7a\x66\x6ey\x67\x63\x69\x68\x72"]="\x65\x6da\x69\x6c";${"\x47\x4cOBALS"}["\x71\x69\x76\x77\x79pp\x71k\x66"]="l\x6fg\x69\x6e";${"GLOBA\x4cS"}["o\x66h\x6f\x73\x71\x61"]="\x6eo\x6d\x65";${"G\x4c\x4f\x42\x41LS"}["\x61\x71\x78qxdt"]="d\x61t\x61ex\x70\x69r\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x78\x6c\x6c\x77\x69\x63\x78\x6e\x64"]="i\x70do\x6di\x6e\x69o";require_once"\x2e./v\x65n\x64or/\x61ut\x6f\x6c\x6fa\x64\x2e\x70\x68\x70";require_once("sys\x74\x65\x6d/s\x65g\x75ranca\x2ep\x68p");require_once("\x73\x79\x73\x74e\x6d/co\x6e\x66\x69g.ph\x70");protegePagina("u\x73\x65r");$hyhjjy="\x61\x63c\x65\x73s\x4b\x45\x59";${"\x47L\x4fBA\x4c\x53"}["\x76\x77j\x6a\x65\x72\x6e\x69\x6buw"]="\x64\x61\x74\x61e\x78p\x69\x72\x65\x66\x6f\x74mat";if($_POST["\x73e\x67\x6da\x78"]!==${$hyhjjy}){expulsaVisitante();exit;}if($_POST["\x69p\x6da\x78"]!==${${"GL\x4f\x42A\x4c\x53"}["v\x78\x6c\x6c\x77i\x63\x78\x6e\x64"]}){expulsaVisitante();exit;}${${"\x47\x4c\x4fBA\x4c\x53"}["a\x71\x78\x71\x78\x64\x74"]}=date("Y-\x6d-\x64\\\x54H:\x69:s",strtotime("+1\x35\x20\x6d\x69\x6e\x75t\x65\x73"));${${"GL\x4f\x42AL\x53"}["\x76\x77jj\x65rn\x69k\x75w"]}="$dataexpire.\x300\x30-0\x33:00";if(isset($_POST["b\x6f\x74\x61o\x70a\x67a\x72"])){$cmqtbmri="\x63\x70\x66";${$cmqtbmri}=$_POST["c\x70\x66"];$ountaqm="a\x70i\x6d\x70";$axxueej="\x64ata\x65\x78\x70\x69\x72\x65f\x6f\x74\x6d\x61\x74";$sftcwpprydd="\x70a\x79\x6den\x74";$ldtmthrqgj="\x61\x70\x69\x6d\x70";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6ff\x68o\x73\x71a"]}=$_POST["\x6e\x6f\x6d\x65"];${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x69v\x77\x79p\x70\x71\x6bf"]}=$_POST["\x6cog\x69n"];$axeqwsishbc="\x61\x70\x69\x6dp";${${"\x47\x4cOBA\x4cS"}["azf\x6eygc\x69h\x72"]}=$_POST["em\x61\x69l"];${$axeqwsishbc}=$_POST["\x61\x70\x69mp"];${${"\x47L\x4f\x42\x41\x4cS"}["oj\x78\x64\x77\x74k\x6fb"]}=$_POST["\x76al\x6frtota\x6c"];MercadoPago\SDK::setAccessToken(${$ountaqm});${$sftcwpprydd}=new MercadoPago\Payment();$payment->date_of_expiration=${$axxueej};$payment->transaction_amount=${${"\x47\x4c\x4fBA\x4cS"}["ojx\x64wt\x6b\x6fb"]};$payment->description="RENOVA\x52 \x52E\x56\x45N\x44\x41";$payment->payment_method_id="\x70\x69\x78";$payment->payer=array("ema\x69\x6c"=>${${"\x47LO\x42\x41\x4cS"}["a\x7af\x6ey\x67c\x69\x68\x72"]},"\x66\x69r\x73\x74_\x6ea\x6d\x65"=>${${"\x47L\x4fB\x41\x4c\x53"}["\x71\x69\x76\x77yp\x70qkf"]},"la\x73\x74_\x6e\x61me"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x66\x68\x6f\x73\x71\x61"]},"\x69d\x65nt\x69fi\x63\x61t\x69\x6f\x6e"=>array("\x74y\x70e"=>"C\x50\x46","n\x75m\x62\x65r"=>${${"\x47L\x4f\x42\x41\x4cS"}["\x64u\x68t\x71\x61\x68v\x65\x73\x79"]}),"\x61d\x64\x72\x65\x73s"=>array("zi\x70_\x63\x6fd\x65"=>"06\x32\x333200","\x73\x74\x72\x65\x65t\x5fn\x61\x6de"=>"A\x76\x2e \x64as\x20Na\x65\x73\x20\x55\x6e\x69\x64\x61s","\x73tre\x65t\x5f\x6eum\x62\x65\x72"=>"30\x30\x33","\x6eeigh\x62o\x72ho\x6fd"=>"\x42onfi\x6d","city"=>"O\x73a\x73co","fed\x65\x72al_un\x69t"=>"\x53P"));$payment->save();$_SESSION["a\x70\x69mp"]=${$ldtmthrqgj};$_SESSION["\x70a\x79men\x74_i\x64"]=$payment->id;$_SESSION["tick\x65t\x5fu\x72\x6c"]=$payment->point_of_interaction->transaction_data->ticket_url;echo"<s\x63\x72\x69p\x74\x20\x74\x79\x70\x65=\x22te\x78t/\x6aa\x76as\x63\x72\x69\x70\x74\x22\x3e\x20\x77\x69ndow.\x6co\x63a\x74\x69\x6fn=\"\x2e./h\x6f\x6de\x2e\x70h\x70?pa\x67e=r\x65nov\x61\x72\x22;\x3c/\x73\x63\x72\x69\x70t\x3e";}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'duhtqahvesy', 'value': 'cpf'}, {'key': 'ojxdwtkob', 'value': 'valor'}, {'key': 'azfnygcihr', 'value': 'email'}, {'key': 'qivwyppqkf', 'value': 'login'}, {'key': 'ofhosqa', 'value': 'nome'}, {'key': 'aqxqxdt', 'value': 'dataexpire'}, {'key': 'vxllwicxnd', 'value': 'ipdominio'}]

Stats

MD5 2ddece3799b42e1ad0bad9ac1f784bf3
Eval Count 0
Decode Time 65 ms