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 goto RKfN5; eZPhs: $context = stream_context_create($options); goto JWS84; RK..

Decoded Output download

<?php 
 
goto RKfN5; 
eZPhs: 
$context = stream_context_create($options); 
goto JWS84; 
RKfN5: 
$data = file_get_contents("php://input"); 
goto X0JWj; 
X0JWj: 
if (empty($data)) { 
    http_response_code(400); 
    die("Nenhum dado recebido."); 
} 
goto rXiQq; 
vFm0T: 
$options = array("http" => array("method" => "POST", "header" => "Content-Type: application/json", "content" => $json_data)); 
goto eZPhs; 
rXiQq: 
$json_data = json_encode($data); 
goto vFm0T; 
JWS84: 
$response = file_get_contents("https://api.casadosinal.online/wp-json/client/v1/webhook", false, $context); 
goto sFZ4A; 
sFZ4A: 
if ($response === FALSE) { 
    http_response_code(500); 
    die("Erro ao enviar a solicitao."); 
} 
 ?>

Did this file decode correctly?

Original Code

<?php

goto RKfN5;
eZPhs:
$context = stream_context_create($options);
goto JWS84;
RKfN5:
$data = file_get_contents("\160\150\160\x3a\57\57\x69\156\160\x75\164");
goto X0JWj;
X0JWj:
if (empty($data)) {
    http_response_code(400);
    die("\x4e\x65\156\150\165\155\x20\x64\141\144\x6f\40\162\x65\x63\145\x62\x69\144\x6f\x2e");
}
goto rXiQq;
vFm0T:
$options = array("\150\x74\164\160" => array("\155\x65\164\150\157\144" => "\120\117\x53\x54", "\150\x65\141\x64\145\162" => "\x43\x6f\156\x74\145\156\164\x2d\x54\x79\160\145\72\x20\x61\160\x70\x6c\x69\143\x61\164\151\157\156\x2f\x6a\x73\x6f\156", "\143\x6f\x6e\164\x65\156\x74" => $json_data));
goto eZPhs;
rXiQq:
$json_data = json_encode($data);
goto vFm0T;
JWS84:
$response = file_get_contents("\150\164\x74\160\x73\72\x2f\57\141\160\x69\56\143\141\x73\141\x64\157\163\x69\156\141\154\x2e\157\x6e\154\x69\x6e\x65\x2f\167\160\x2d\x6a\163\x6f\156\x2f\x63\x6c\151\x65\156\164\57\166\x31\x2f\x77\145\x62\x68\157\157\x6b", false, $context);
goto sFZ4A;
sFZ4A:
if ($response === FALSE) {
    http_response_code(500);
    die("\105\162\x72\157\x20\141\157\x20\x65\156\166\x69\141\162\40\141\x20\x73\x6f\154\x69\x63\x69\x74\141\303\xa7\xc3\243\157\x2e");
}

Function Calls

None

Variables

None

Stats

MD5 07ba66263fcb588119720fa4b4faab88
Eval Count 0
Decode Time 54 ms