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 LXght; HnMLP: require_once "\x2e\x2e\57\56\x2e\57\56\x2e\x2f\x73\171\x73\164\..

Decoded Output download

<?php 
 goto LXght; HnMLP: require_once "../../../system/config_addons.php"; goto WHoIc; LXght: $load_addons = "CS_Poke"; goto HnMLP; tTX7g: if (isset($_POST["set_" . $load_addons . "_access"]) && boomAllow($cody["can_manage_addons"])) { $poke_access = escape($_POST["set_" . $load_addons . "_access"]); $query = "UPDATE boom_addons SET addons_access = ? WHERE addons = ?"; if ($statement = $mysqli->prepare($query)) { $statement->bind_param("ss", $poke_access, $load_addons); if ($statement->execute()) { echo 5; } else { handleQueryError($statement->error); } $statement->close(); } else { handleStatementError($mysqli->error); } } else { die; } goto O7odZ; O7odZ: function handleQueryError($error) { echo "Error executing query: {$error}"; http_response_code(500); die; } goto zxNsG; WHoIc: redisUpdateAddons("CS_Poke"); goto tTX7g; zxNsG: function handleStatementError($error) { echo "Error preparing statement: {$error}"; http_response_code(500); die; } goto zwVRa; zwVRa: ?>

Did this file decode correctly?

Original Code

<?php
 goto LXght; HnMLP: require_once "\x2e\x2e\57\56\x2e\57\56\x2e\x2f\x73\171\x73\164\145\155\x2f\x63\x6f\x6e\146\151\147\137\x61\144\x64\157\156\x73\x2e\160\x68\x70"; goto WHoIc; LXght: $load_addons = "\x43\x53\x5f\120\157\x6b\x65"; goto HnMLP; tTX7g: if (isset($_POST["\x73\x65\x74\x5f" . $load_addons . "\x5f\141\x63\x63\x65\163\163"]) && boomAllow($cody["\143\141\156\137\155\141\156\141\147\145\x5f\x61\144\x64\x6f\156\x73"])) { $poke_access = escape($_POST["\163\145\x74\137" . $load_addons . "\x5f\x61\143\143\145\163\x73"]); $query = "\125\120\x44\x41\124\105\40\142\x6f\x6f\x6d\137\141\x64\144\157\x6e\163\x20\x53\x45\124\x20\x61\x64\144\x6f\x6e\163\x5f\x61\143\143\145\163\x73\40\75\40\77\40\x57\x48\x45\x52\105\40\x61\144\x64\x6f\x6e\x73\x20\x3d\40\x3f"; if ($statement = $mysqli->prepare($query)) { $statement->bind_param("\x73\163", $poke_access, $load_addons); if ($statement->execute()) { echo 5; } else { handleQueryError($statement->error); } $statement->close(); } else { handleStatementError($mysqli->error); } } else { die; } goto O7odZ; O7odZ: function handleQueryError($error) { echo "\x45\x72\162\157\162\40\145\x78\x65\143\x75\x74\x69\156\x67\x20\x71\x75\x65\x72\171\x3a\40{$error}"; http_response_code(500); die; } goto zxNsG; WHoIc: redisUpdateAddons("\x43\x53\x5f\x50\157\x6b\145"); goto tTX7g; zxNsG: function handleStatementError($error) { echo "\105\x72\x72\x6f\162\40\160\162\x65\160\x61\162\x69\156\147\40\163\x74\141\x74\145\155\x65\156\164\x3a\x20{$error}"; http_response_code(500); die; } goto zwVRa; zwVRa: ?>

Function Calls

None

Variables

None

Stats

MD5 ba8d6377c6bf604862ec8360f3819e8f
Eval Count 0
Decode Time 49 ms