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 U8BgT; VHdXN: require "\x2e\56\x2f\x2e\56\57\x2e\x2e\x2f\163\x79\163\164\145\..

Decoded Output download

<?php 
 goto U8BgT; VHdXN: require "../../../system/config_addons.php"; goto eaNF6; AzAAe: if ($_POST) { global $mysqli, $data; $id = (int) $_POST["id"]; $message = trim($_POST["message"]); if ($_POST["action"] == "send") { $query = "INSERT INTO boom_poke_messages (hunter, target, message, show_modal) \xa                  VALUES ({$data["user_id"]}, {$id}, '{$mysqli->real_escape_string($message)}', 1)"; $mysqli->query($query); boomNotify("poke_me", array("hunter" => $data["user_id"], "target" => $id, "source" => "CS_Poke", "reason" => "You have been poked!", "icon" => "poke", "data" => "Poked by " . $data["user_name"])); echo 1; } if ($_POST["action"] == "accept") { $query = "DELETE FROM boom_poke_messages WHERE target = '{$data["user_id"]}' AND hunter = '{$id}'"; $mysqli->query($query); echo 1; } } goto nOmuP; eaNF6: redisUpdateAddons("CS_Poke"); goto AzAAe; U8BgT: $load_addons = "CS_Poke"; goto VHdXN; nOmuP: ?>

Did this file decode correctly?

Original Code

<?php
 goto U8BgT; VHdXN: require "\x2e\56\x2f\x2e\56\57\x2e\x2e\x2f\163\x79\163\164\145\x6d\57\143\157\156\x66\151\147\137\141\144\144\x6f\x6e\x73\x2e\160\150\160"; goto eaNF6; AzAAe: if ($_POST) { global $mysqli, $data; $id = (int) $_POST["\151\x64"]; $message = trim($_POST["\155\145\x73\163\x61\x67\145"]); if ($_POST["\141\143\164\x69\157\156"] == "\x73\x65\x6e\x64") { $query = "\x49\x4e\123\105\x52\x54\40\111\116\124\x4f\x20\142\157\x6f\155\x5f\160\157\153\145\137\155\x65\163\x73\x61\147\145\163\x20\x28\150\165\156\x74\145\x72\54\x20\x74\x61\x72\x67\145\x74\x2c\40\x6d\x65\163\163\x61\x67\145\x2c\40\x73\150\157\x77\x5f\155\x6f\144\x61\x6c\51\x20\xa\40\40\x20\x20\x20\40\40\40\x20\40\40\40\x20\x20\40\40\40\x20\126\101\114\x55\105\x53\x20\50{$data["\165\x73\x65\162\137\151\144"]}\54\x20{$id}\x2c\x20\x27{$mysqli->real_escape_string($message)}\47\54\x20\x31\51"; $mysqli->query($query); boomNotify("\160\157\153\x65\x5f\x6d\145", array("\x68\x75\156\164\x65\162" => $data["\x75\x73\145\x72\137\151\x64"], "\164\141\x72\x67\x65\x74" => $id, "\x73\157\165\162\143\x65" => "\103\x53\137\120\x6f\x6b\145", "\162\145\x61\163\x6f\x6e" => "\x59\x6f\165\40\150\141\166\x65\x20\x62\x65\x65\156\x20\160\x6f\x6b\x65\144\x21", "\151\x63\x6f\x6e" => "\x70\157\x6b\145", "\144\141\x74\x61" => "\x50\157\153\145\144\x20\142\x79\40" . $data["\165\x73\145\x72\x5f\x6e\141\155\145"])); echo 1; } if ($_POST["\x61\x63\x74\x69\x6f\x6e"] == "\x61\143\x63\145\x70\164") { $query = "\x44\x45\x4c\x45\124\x45\x20\x46\122\117\115\x20\x62\x6f\x6f\155\137\x70\x6f\153\145\137\155\x65\163\x73\x61\x67\x65\163\x20\x57\110\105\x52\x45\40\164\141\162\147\145\164\40\75\40\x27{$data["\x75\163\145\x72\137\x69\x64"]}\47\x20\101\x4e\x44\x20\x68\165\x6e\164\x65\162\x20\x3d\40\x27{$id}\x27"; $mysqli->query($query); echo 1; } } goto nOmuP; eaNF6: redisUpdateAddons("\x43\x53\x5f\120\x6f\x6b\145"); goto AzAAe; U8BgT: $load_addons = "\103\x53\137\x50\x6f\x6b\x65"; goto VHdXN; nOmuP: ?>

Function Calls

None

Variables

None

Stats

MD5 e4d7af4923fea95d69b5b12ca52d3f28
Eval Count 0
Decode Time 51 ms