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

Signing you up...

Thank you for signing up!

PHP Decode

goto soDlh; RQezX: $meudominio = $simple_url . "\57\141\160\x69\x2f\x3f\x74\x6f\153\x65\x..

Decoded Output download

<?   goto soDlh; RQezX: $meudominio = $simple_url . "/api/?token="; goto vLhNA; Z9xrH: $query_usuarios = "SELECT id, rel_estabelecimentos_id, nome, whatsapp, v_pedido	, data_hora FROM pedidos ORDER BY id DESC"; goto DP3S_; P9Xnu: $result_usuarios->execute(); goto GWaEj; soDlh: if ($url_license != $urlicense) { echo "<center><br><br> Dominio no inserido em (config) ou este Dominio no corresponde a Chave de Ativao! Seu sistema pode ser uma copia no autorizada do sistema Catalogo Web Digital.<br><br> <a href= https://mercadocotia.app.br/copia-nao-autorizada >CLIQUE AQUI PARA TER AJUDA!</a></center><br><br>"; } goto tr6Hf; QwXo4: if ($total_results <= 0) { for ($i = 0; $i < 20; $i++) { $token = uniqid(rand(), true); } $token = "MDT" . $eid . $token; $sql = mysqli_query($db_con, "INSERT INTO impressao (ide,status,token) VALUES ('{$eid}','2','{$token}');"); $data = array("Url" => $meudominio, "Token" => $token); $arquivo = "modelo.xml"; $json = json_encode($data); $file = fopen($arquivo, "w"); fwrite($file, $json); fclose($file); header("Location: index.php?msg=sucesso"); } else { $datatoken = mysqli_fetch_array($sql); } goto AS_21; e3C6P: $eid = $_SESSION["estabelecimento"]["id"]; goto RQezX; iwp69: echo "<center><b><a href='gerar_excel.php'>Clique Aqui -> para Gerar Planilha</a></b><br><br></center>"; goto DwgF_; DP3S_: $result_usuarios = $conn->prepare($query_usuarios); goto P9Xnu; Oh8SY: if ($app_url != $app_url1) { echo "<center><br><br> Este sistema  uma cpia No Autorizada - Para ativa-la entre em contato <br><br> <a href= https://mercadocotia.app.br/copia-nao-autorizada >CLIQUE AQUI PARA TER AJUDA!</a></center><br><br>"; } goto b9mTC; DwgF_: if (isset($_SESSION["msg"])) { echo $_SESSION["msg"]; unset($_SESSION["msg"]); } goto Z9xrH; tr6Hf: if ($codigo_license != $app_license) { echo "<center><br><br> Cdigo de Licena no inserido em (config) ou sua Licena no  Valida! Seu sistema pode ser uma copia no autorizada do sistema Catalogo Web Digital. <br><br> <a href= https://mercadocotia.app.br/copia-nao-autorizada >CLIQUE AQUI PARA TER AJUDA!</a></center><br><br>"; } goto Oh8SY; GWaEj: if ($result_usuarios and $result_usuarios->rowCount() != 0) { while ($row_usuario = $result_usuarios->fetch(PDO::FETCH_ASSOC)) { extract($row_usuario); echo "<center><b>ID Pedido:</b> {$id} <br></center>"; echo "<center><b>Id Estabelecimento:</b> {$rel_estabelecimentos_id} <br></center>"; echo "<center><b>Nome Cliente:</b> {$nome} <br></center>"; echo "<center><b>WhatsApp Cliente:</b> {$whatsapp} <br></center>"; echo "<center><b>Valor Pedido:</b> {$v_pedido} <br></center>"; echo "<center><b>Data Hora:</b> {$data_hora} <br></center>"; echo "<center><hr></center>"; } } else { echo "<p style='color: #f00;'>Erro: Nenhum Pedido encontrado!</p>"; } goto n6RWX; vLhNA: $sql = mysqli_query($db_con, "SELECT * FROM impressao WHERE ide = '{$eid}'"); goto japeP; b9mTC: global $db_con; goto e3C6P; AS_21: echo "<br><br>"; goto g6vGT; japeP: $total_results = mysqli_num_rows($sql); goto QwXo4; g6vGT: echo "<center><label>Relatrio de Vendas:</label><br><br></center>"; goto iwp69; n6RWX:  ?>

Did this file decode correctly?

Original Code

 goto soDlh; RQezX: $meudominio = $simple_url . "\57\141\160\x69\x2f\x3f\x74\x6f\153\x65\x6e\75"; goto vLhNA; Z9xrH: $query_usuarios = "\123\105\114\x45\x43\x54\x20\x69\144\x2c\x20\162\145\154\x5f\145\163\x74\141\x62\145\154\x65\143\x69\155\x65\156\x74\x6f\x73\137\151\x64\x2c\x20\x6e\157\155\145\54\x20\167\150\141\164\x73\141\x70\160\x2c\40\166\x5f\x70\145\x64\151\x64\157\11\x2c\x20\144\x61\164\141\137\x68\x6f\162\x61\40\x46\122\x4f\115\x20\160\x65\144\x69\144\157\163\40\x4f\122\x44\x45\122\x20\102\x59\x20\x69\x64\40\104\105\123\103"; goto DP3S_; P9Xnu: $result_usuarios->execute(); goto GWaEj; soDlh: if ($url_license != $urlicense) { echo "\74\143\x65\156\164\145\x72\76\74\x62\x72\x3e\74\x62\x72\x3e\40\x44\157\x6d\151\156\x69\157\x20\x6e\xc3\243\157\x20\x69\x6e\x73\x65\x72\151\144\x6f\40\x65\x6d\40\x28\143\157\156\x66\x69\x67\x29\40\x6f\x75\x20\145\x73\164\145\40\x44\x6f\155\151\x6e\x69\157\40\156\303\243\x6f\x20\143\157\162\x72\x65\163\160\157\x6e\144\x65\x20\x61\40\x43\x68\x61\166\x65\x20\x64\145\40\101\164\151\x76\141\303\xa7\303\243\x6f\x21\40\123\x65\165\x20\x73\151\163\x74\x65\155\141\x20\160\157\x64\x65\x20\163\145\162\40\x75\155\141\40\x63\x6f\160\151\x61\x20\x6e\303\xa3\x6f\x20\x61\x75\164\157\x72\151\x7a\x61\144\x61\40\x64\157\x20\x73\151\x73\x74\x65\x6d\x61\x20\103\x61\x74\141\x6c\x6f\147\157\40\127\145\x62\40\x44\151\x67\x69\x74\x61\154\56\x3c\142\x72\x3e\74\x62\162\x3e\x20\x3c\141\x20\x68\162\x65\x66\x3d\40\x68\164\x74\160\x73\72\57\x2f\155\x65\x72\x63\x61\x64\157\x63\x6f\x74\x69\141\x2e\x61\x70\160\56\142\x72\57\x63\157\160\x69\x61\55\156\141\157\55\x61\x75\164\157\x72\x69\x7a\x61\144\x61\x20\76\103\x4c\111\121\x55\x45\40\x41\121\125\x49\40\120\x41\122\101\40\x54\x45\122\x20\101\112\x55\x44\x41\x21\74\x2f\x61\x3e\x3c\57\x63\145\x6e\164\145\162\x3e\x3c\142\162\x3e\74\142\x72\x3e"; } goto tr6Hf; QwXo4: if ($total_results <= 0) { for ($i = 0; $i < 20; $i++) { $token = uniqid(rand(), true); } $token = "\x4d\104\124" . $eid . $token; $sql = mysqli_query($db_con, "\x49\116\x53\x45\122\124\x20\111\116\124\117\x20\x69\155\x70\x72\145\163\x73\141\x6f\40\50\x69\x64\145\54\x73\x74\x61\x74\x75\163\54\164\157\x6b\x65\x6e\51\40\x56\x41\x4c\x55\x45\x53\40\x28\x27{$eid}\x27\x2c\x27\62\47\54\47{$token}\47\x29\x3b"); $data = array("\x55\162\154" => $meudominio, "\x54\x6f\153\x65\156" => $token); $arquivo = "\155\157\144\145\x6c\157\x2e\170\155\154"; $json = json_encode($data); $file = fopen($arquivo, "\x77"); fwrite($file, $json); fclose($file); header("\x4c\x6f\143\141\x74\151\157\156\x3a\40\x69\156\144\145\170\x2e\x70\150\160\x3f\155\x73\147\x3d\x73\x75\143\x65\x73\163\x6f"); } else { $datatoken = mysqli_fetch_array($sql); } goto AS_21; e3C6P: $eid = $_SESSION["\145\x73\x74\x61\x62\x65\154\145\x63\x69\x6d\x65\x6e\x74\x6f"]["\151\x64"]; goto RQezX; iwp69: echo "\74\143\145\156\x74\145\x72\76\x3c\x62\76\74\141\x20\150\162\x65\146\75\x27\x67\145\x72\141\x72\137\x65\x78\x63\x65\154\56\x70\150\x70\47\x3e\103\154\151\161\x75\x65\x20\x41\x71\x75\x69\40\x2d\76\x20\x70\x61\x72\141\x20\x47\x65\162\141\162\x20\120\154\x61\x6e\151\x6c\150\x61\x3c\57\x61\x3e\74\57\142\76\74\x62\162\76\x3c\x62\162\76\74\57\143\145\x6e\x74\x65\162\76"; goto DwgF_; DP3S_: $result_usuarios = $conn->prepare($query_usuarios); goto P9Xnu; Oh8SY: if ($app_url != $app_url1) { echo "\74\x63\x65\156\x74\145\x72\76\x3c\x62\x72\76\74\x62\x72\x3e\x20\x45\163\164\145\40\163\151\163\164\x65\x6d\x61\x20\xc3\xa9\40\165\x6d\x61\40\143\303\xb3\160\x69\x61\x20\x4e\xc3\xa3\157\40\x41\x75\x74\157\x72\x69\x7a\x61\x64\x61\x20\x2d\40\x50\x61\162\x61\40\x61\x74\151\x76\x61\x2d\x6c\x61\x20\145\x6e\164\x72\145\40\x65\x6d\40\x63\x6f\x6e\x74\x61\x74\157\40\x3c\142\162\76\x3c\142\162\76\40\74\x61\40\x68\x72\145\x66\75\x20\x68\x74\x74\160\163\x3a\x2f\x2f\x6d\145\x72\143\x61\144\x6f\x63\x6f\x74\151\x61\x2e\141\160\x70\x2e\x62\x72\x2f\x63\x6f\x70\151\x61\55\x6e\x61\x6f\55\x61\165\164\x6f\x72\151\x7a\141\144\x61\40\x3e\103\x4c\x49\121\x55\x45\40\101\121\x55\111\x20\120\x41\122\x41\x20\124\105\x52\40\x41\x4a\x55\x44\x41\41\74\57\141\76\74\x2f\143\145\x6e\x74\145\162\x3e\x3c\x62\162\76\x3c\x62\x72\x3e"; } goto b9mTC; DwgF_: if (isset($_SESSION["\x6d\x73\x67"])) { echo $_SESSION["\x6d\163\x67"]; unset($_SESSION["\x6d\163\x67"]); } goto Z9xrH; tr6Hf: if ($codigo_license != $app_license) { echo "\x3c\143\145\x6e\164\145\x72\76\x3c\x62\x72\76\x3c\142\x72\x3e\40\103\xc3\xb3\144\151\147\157\40\144\x65\40\114\x69\143\145\156\xc3\247\141\x20\156\303\243\157\40\x69\156\163\x65\162\x69\x64\x6f\40\x65\155\x20\x28\143\157\156\x66\x69\x67\51\x20\x6f\x75\40\x73\x75\x61\x20\114\151\143\x65\156\xc3\xa7\141\x20\156\303\xa3\x6f\x20\xc3\251\x20\126\141\154\x69\144\141\x21\40\123\145\165\40\x73\151\163\164\x65\x6d\141\40\160\x6f\x64\x65\40\163\x65\162\x20\165\x6d\141\40\143\157\x70\151\141\40\156\303\243\157\40\141\x75\164\157\x72\151\x7a\x61\x64\x61\x20\x64\x6f\40\x73\x69\x73\x74\x65\155\x61\x20\103\x61\x74\141\154\x6f\147\x6f\x20\x57\145\x62\40\x44\x69\x67\x69\164\141\x6c\56\x20\74\x62\162\x3e\x3c\x62\162\x3e\40\x3c\x61\x20\x68\162\x65\146\x3d\x20\x68\x74\x74\160\163\72\x2f\57\155\145\x72\x63\141\144\157\143\x6f\x74\151\x61\x2e\x61\x70\160\x2e\x62\162\57\x63\x6f\x70\151\x61\55\x6e\141\x6f\55\x61\x75\164\x6f\x72\x69\172\x61\x64\x61\40\76\x43\114\111\x51\125\105\40\x41\x51\125\111\40\120\101\122\x41\x20\x54\105\122\x20\x41\x4a\125\x44\101\41\x3c\57\141\76\x3c\57\x63\x65\156\164\145\x72\76\74\142\162\x3e\74\x62\x72\x3e"; } goto Oh8SY; GWaEj: if ($result_usuarios and $result_usuarios->rowCount() != 0) { while ($row_usuario = $result_usuarios->fetch(PDO::FETCH_ASSOC)) { extract($row_usuario); echo "\74\143\145\x6e\x74\x65\x72\x3e\74\142\x3e\x49\104\x20\120\x65\x64\151\144\157\x3a\74\x2f\x62\x3e\40{$id}\x20\74\142\x72\76\74\57\143\145\156\164\145\x72\x3e"; echo "\74\143\x65\156\164\145\162\76\74\x62\x3e\x49\144\x20\x45\x73\x74\141\142\x65\x6c\x65\143\151\155\x65\156\x74\x6f\72\x3c\x2f\142\76\x20{$rel_estabelecimentos_id}\40\74\x62\162\x3e\74\x2f\143\145\x6e\164\145\162\x3e"; echo "\x3c\143\145\x6e\164\145\x72\x3e\x3c\x62\76\116\x6f\155\x65\40\103\154\x69\x65\156\x74\145\72\x3c\x2f\x62\76\x20{$nome}\40\74\x62\162\76\74\x2f\x63\145\x6e\x74\145\x72\x3e"; echo "\74\143\x65\156\164\x65\162\x3e\x3c\142\76\127\x68\x61\x74\163\101\x70\160\40\x43\x6c\151\145\x6e\164\x65\x3a\74\57\142\76\x20{$whatsapp}\40\74\x62\162\76\74\x2f\x63\145\156\x74\x65\x72\76"; echo "\x3c\x63\145\x6e\164\x65\162\x3e\74\142\x3e\126\141\154\x6f\162\x20\x50\x65\x64\151\x64\157\72\74\57\x62\76\40{$v_pedido}\40\74\x62\162\x3e\74\x2f\x63\x65\x6e\164\145\x72\x3e"; echo "\x3c\143\x65\x6e\164\145\x72\x3e\74\142\76\x44\141\164\141\40\110\157\x72\x61\x3a\x3c\x2f\142\76\x20{$data_hora}\40\x3c\142\162\76\74\x2f\143\145\x6e\164\x65\x72\x3e"; echo "\74\x63\x65\156\x74\x65\x72\76\74\150\162\76\x3c\57\143\145\x6e\164\x65\162\x3e"; } } else { echo "\x3c\160\40\163\164\171\154\145\x3d\x27\x63\x6f\x6c\x6f\162\72\40\43\146\60\x30\x3b\47\76\105\x72\162\x6f\72\40\116\145\156\x68\x75\x6d\40\120\145\x64\x69\x64\x6f\40\x65\x6e\x63\x6f\x6e\164\x72\141\144\157\41\x3c\x2f\x70\76"; } goto n6RWX; vLhNA: $sql = mysqli_query($db_con, "\x53\105\x4c\105\103\x54\40\52\40\x46\122\x4f\115\x20\151\x6d\160\162\x65\x73\163\x61\157\x20\x57\110\105\122\105\x20\151\x64\145\40\75\40\x27{$eid}\47"); goto japeP; b9mTC: global $db_con; goto e3C6P; AS_21: echo "\74\x62\162\x3e\74\142\162\x3e"; goto g6vGT; japeP: $total_results = mysqli_num_rows($sql); goto QwXo4; g6vGT: echo "\74\x63\x65\156\164\145\162\76\74\154\141\142\x65\x6c\76\122\145\x6c\141\164\303\263\162\151\157\40\x64\x65\40\126\145\x6e\144\141\x73\x3a\x3c\57\x6c\141\142\x65\154\76\x3c\142\x72\x3e\x3c\x62\x72\x3e\74\57\x63\x65\x6e\x74\145\162\76"; goto iwp69; n6RWX: 

Function Calls

None

Variables

None

Stats

MD5 c0c3918744a5ba08ffd14e6bbf47efd5
Eval Count 0
Decode Time 54 ms