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 LUw6i; ziz6m: $response->id = $db->lastInsertId(); goto BBuUM; LUw6i: req..
Decoded Output download
<?php
goto LUw6i;
ziz6m:
$response->id = $db->lastInsertId();
goto BBuUM;
LUw6i:
require_once "_db.php";
goto KHDe9;
KHDe9:
$json = file_get_contents("php://input");
goto xizrI;
PVGXB:
$stmt = $db->prepare("INSERT INTO ferias_times (name, capacity, status) VALUES (:name, :capacity, 'Ready')");
goto iI6Nz;
BBuUM:
$response->status = "Ready";
goto cuNsU;
zAuz3:
$stmt->bindParam(":capacity", $params->capacity);
goto JUPJd;
BUYb1:
$response->result = "OK";
goto y5DUE;
lkZYz:
$response = new Result();
goto BUYb1;
xizrI:
$params = json_decode($json);
goto PVGXB;
y5DUE:
$response->message = "Created with id: " . $db->lastInsertId();
goto ziz6m;
aenxP:
class Result
{
}
goto lkZYz;
JUPJd:
$stmt->execute();
goto aenxP;
iI6Nz:
$stmt->bindParam(":name", $params->name);
goto zAuz3;
cuNsU:
header("Content-Type: application/json");
goto FzYnT;
FzYnT:
echo json_encode($response); ?>
Did this file decode correctly?
Original Code
<?php
goto LUw6i;
ziz6m:
$response->id = $db->lastInsertId();
goto BBuUM;
LUw6i:
require_once "\x5f\x64\142\56\160\x68\160";
goto KHDe9;
KHDe9:
$json = file_get_contents("\x70\x68\160\x3a\57\x2f\x69\156\160\x75\x74");
goto xizrI;
PVGXB:
$stmt = $db->prepare("\111\116\x53\105\x52\124\40\x49\x4e\124\117\40\x66\x65\162\x69\141\163\137\x74\151\x6d\x65\163\40\x28\x6e\x61\x6d\x65\x2c\40\143\141\x70\x61\x63\151\x74\171\x2c\40\x73\x74\141\x74\x75\x73\51\40\x56\x41\x4c\x55\x45\123\40\x28\x3a\x6e\x61\x6d\x65\x2c\40\72\x63\141\160\x61\x63\x69\x74\171\x2c\x20\x27\x52\x65\x61\144\171\x27\51");
goto iI6Nz;
BBuUM:
$response->status = "\122\x65\x61\144\x79";
goto cuNsU;
zAuz3:
$stmt->bindParam("\72\143\x61\x70\141\x63\151\164\x79", $params->capacity);
goto JUPJd;
BUYb1:
$response->result = "\117\x4b";
goto y5DUE;
lkZYz:
$response = new Result();
goto BUYb1;
xizrI:
$params = json_decode($json);
goto PVGXB;
y5DUE:
$response->message = "\103\162\x65\x61\x74\x65\x64\x20\x77\151\164\x68\x20\151\144\x3a\40" . $db->lastInsertId();
goto ziz6m;
aenxP:
class Result
{
}
goto lkZYz;
JUPJd:
$stmt->execute();
goto aenxP;
iI6Nz:
$stmt->bindParam("\72\x6e\141\x6d\145", $params->name);
goto zAuz3;
cuNsU:
header("\103\x6f\156\164\145\x6e\164\55\x54\x79\160\145\72\x20\141\x70\x70\x6c\151\143\x61\x74\x69\x6f\x6e\57\x6a\x73\157\x6e");
goto FzYnT;
FzYnT:
echo json_encode($response);
Function Calls
None |
Stats
MD5 | 8110db203d468ba853e609b0027ecf2d |
Eval Count | 0 |
Decode Time | 48 ms |